Caché MultiValue Basic Reference
SELECTINFO
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Returns information about a select list.
Synopsis
SELECTINFO(listnum,key)
Arguments
listnum An expression that resolves to an integer between 1 and 10 (inclusive) that identifies a select list. This value is defined in the SELECT statement. listnum 0 is not valid for Caché MVBasic.
key An expression that resolves to an integer code indicating what select list information to return. The available values are 1 (active), and 3 (count).
Description
The SELECTINFO function returns different values depending on the value of key:
Examples
The following example uses the SELECTINFO function to return information about select list 4:
slist=4
PRINT SELECTINFO(slist,1)
PRINT SELECTINFO(slist,3)
See Also