version 2003
PA_RelateOneSelection (manyTable; oneTable)
Parameter | Type | Description | |
manyTable | short | Many Table Number | |
oneTable | short | One 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)