Skip to main content
Version: Next

QR DELETE COLUMN

QR DELETE COLUMN ( area ; colNumber )

ParameterTypeDescription
areaIntegerReference of the area
colNumberIntegerColumn number

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

Description

The QR DELETE COLUMN command deletes the column in area whose number was passed in colNumber. This command does not apply to cross-table reports.

If you pass an invalid area number, the error -9850 will be generated.
If you pass an invalid column number, the error -9852 will be generated.

Example

The following example makes sure the report is a list report and deletes the third column:

 If(QR Get report kind(MyArea)=qr list report)
    QR DELETE COLUMN(MyArea;3)
 End if

See also

QR INSERT COLUMN