The JQLGETPROPERTY statement gets the property of a compiled jQL statement.

NOTE: This function is only available in jBASE 4.1 and later.


JQLGETPROPERTY(PropertyValue, Statement, Column, PropertyName)



PropertyValue receives the requested property value from the system or "" if the property is not set.

Statement is the result of a valid JQLCOMPILE statement.

Column specifies that you want the value of the property for a specific column (otherwise 0 for the whole statement).

PropertyName refers to the equated values defined by including the file JQLINTERFACE.h. This function returns -1 if there is a problem with the parameters or the programmer. These properties answer questions such as “Was LPTR mode asked for,” and “How many columns are there?”

Note: Properties are valid after the compile; this is the main reason for separating the compile and execute into two functions. After compiling, it is possible examine the properties and set properties before executing.