PA_RelateOneSelection

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_RelateOneSelection (manyTable; oneTable)

ParameterTypeDescription
manyTableshortMany Table Number
oneTableshortOne Table Number

Description

The command PA_RelateOneSelection creates a new selection of records for the table oneTable, based on the selection of records in the table manyTable.

This command can only be used if there is a relation between manyTable to oneTable. PA_RelateOneSelection can work across several levels of relations. There can be several related tables between manyTable and oneTable. The relations can be manual or automatic.

Warning

Do not use this command inside a transaction.

This works like the 4th Dimension command RELATE ONE SELECTION

See Also

PA_RelateOne, RELATE ONE SELECTION.

Error Handling

Use PA_GetLastError to see if an error occurred (bad table number)


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next