Skip to main content
Version: 20 R7 BETA

QR INSERT COLUMN

QR INSERT COLUMN ( area ; colNumber ; object )

ParameterTypeDescription
areaIntegerReference of the area
colNumberIntegerColumn number
objectField, Variable, PointerObject to be inserted in the column

This command is not thread-safe, it cannot be used in preemptive code.

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.

Note: This command cannot be used with a cross-table report.

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

QR DELETE COLUMN