QMNextPartial()

QMNextPartial()

Top  Previous  Next

 

The QMNextPartial() function returns the next part of a select list built using QMSelectPartial().

 

The function takes one argument, ListNo as the select list number (0 to 10).

 

The QMNextPartial() function provides an optimised way to process select lists within a QMClient session. It returns the next part of a list constructed using QMSelectPartial(). A null string is returned when the list is exhausted.

 

QMNextPartial() can also be used to return items from a select list built on the server by a program, by execution of a command, or by use of QMSelect(). It is essentially the same as a series of QMReadNext() operations that merge the ids into a single string before returning it to the server.

 

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

 

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

 

 

hmtoggle_plus1C

 

hmtoggle_plus1VB.Net

 

hmtoggle_plus1QMBasic Class Module

 

hmtoggle_plus1Java

 

hmtoggle_plus1Python