The JQLPUTPROPERTY statement sets a property in a compiled jQL statement.

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


JQLPUTPROPERTY(PropertyValue, Statement, Column, PropertyName)



PropertyValue is the value to which you want to set the specified property.

Statement is the result of a valid JQLCOMPILE statement.

NOTE: Some properties may require JQLEXECUTE first.

Column holds 0 for a general property of the statement, or a column number if it is something that can be set for a specific column.

PropertyName refers to the equated values defined by including the file JQLINTERFACE.h.

This function returns -1 if it locates a problem in the statement and zero for no problem.

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.