version 2003
QR INSERT COLUMN (area; colNumber; object)
Parameter | Type | Description | |
area | Longint | Reference of the area | |
colNumber | Longint | Column number | |
object | Field | Variable | Pointer | Object to be inserted in the column |
Description
The QR INSERT COLUMN command inserts or creates a column at the specified position. Columns located to the right of that position will be shifted accordingly.
position is the number of the column, established from left to right.
The default title for the column will be the value passed in object.
If you pass an invalid area number, the error -9850 will be generated.
Example
The following statement inserts (or creates) a first column in a Quick Report area, inserts "Field1" as column title (default behavior) and populates the contents of the body with values from Field1.
QR INSERT COLUMN (MyArea;1;->[Table 1]Field1)
See Also