|
![]() |
![]() |
version 2003
PA_OpenOrderBy (tNum) → PA_OrderByRef
Parameter | Type | Description | |
tNum | short | → | Table number |
Description
The routine
PA_OpenOrderBy
tells the API to prepare an
Order By
sequence for the current selection of table
tNum
in the current process. After calling this routine, you will add sort criteria (fields and their ordering order) using
PA_AddFieldToOrderBy
and then start the sorting by calling
PA_CloseOrderBy
.
tNum
is the table which selection must by reordered.
PA_AddFieldToSelection
may include related fields, as in the
ORDER BY
command.