SELECTINFO() |
![]() ![]() ![]() |
The SELECTINFO() function returns information about a select list.
Format
SELECTINFO(list.no, key)
where
Values for the key to the SELECTINFO() function are defined in the KEYS.H record in the SYSCOM file. These are
Use of mode 3 with a list constructed using the QMBasic SELECT statement on a dynamic file requires completion of the selection process and thus may reduce application performance.
Example
SELECT STOCK.FILE PRINT "Stock file has " : SELECTINFO(0, SL$COUNT) : " records" CLEARSELECT
This program fragment counts and reports the number of records in the file open with file variable STOCK.FILE.. |