Top  Previous  Next


The QMReadList() function reads a select list into a dynamic array in the client application. It is analogous to the QMBasic READLIST statement.


The function arguments are:


ListNois the number of the select list to be read in the range 0 to 10.


Errreceives an error value indicating the outcome of the request. This argument is not present in all variants of the QMClient API.


If the action is successful, the returned value contains a field mark delimited set of unprocessed entries from the given list. The original list is destroyed by this action.


See Select lists in QMClient sessions for a description of the alternative ways to handle select list with QMClient.


The example program fragments below build select list 1 as a list of all records in the file open as fClients and then transfer this to a dynamic array named List.







hmtoggle_plus1QMBasic Class Module