QR INSERT COLUMN

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2003


QR INSERT COLUMN (area; colNumber; object)

ParameterTypeDescription
areaLongintReference of the area
colNumberLongintColumn number
objectField | Variable | PointerObject 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

QR DELETE COLUMN.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next