QMSelect |
![]() ![]() ![]() |
The QMSelect function generates a select list containing the ids of all records in a file.
Format
where
The QMSelect function constructs a list of record ids which can subsequently be processed using the QMReadNext() function. Select list 0, the default select list, is used automatically by many QM components to control their action and should, therefore, be used with caution. An unwanted or partially processed select list can be cleared using the QMClearSelect function.
See the QMReadList() function for a discussion on different ways to process the select list. The QMSelect function does not provide any method to select only those records that meet specific conditions or to sort the list. These features can be accessed by executing query processor commands using the QMExecute() function. |