Top  Previous  Next


The QMReadNext() function retrieves the next entry from a select list. It is analogous to the QMBasic READNEXT statement.


The function arguments are:


ListNois the number of the select list to be processed 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/



The QMReadNext() function retrieves the next entry from the select list identified by the ListNo argument.


If successful, the function returns the list entry and, in the Visual Basic and QMBasic APIs, Err is set to SV_OK.


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


See also the QMReadList() function for a discussion of the relationship between QMReadNext() and QMReadList().


The example program fragments below builds select list 1 and use it to process records from the file open as fClients.







hmtoggle_plus1QMBasic Class Module