Skip to main content
Version: 21 R2 BETA

QR SET REPORT KIND

QR SET REPORT KIND ( area : Integer ; type : Integer )

ParameterTypeDescription
areaIntegerReference of the area
typeIntegerType of the report
History
ReleaseChanges
2003Created

Description

The QR SET REPORT KIND command sets the report type for the area whose reference was passed in area.

  • If type equals 1, the report type is list.
  • If type equals 2, the report type is cross-table.

You can also use the constants of the QR Report Types theme:

ConstantTypeValue
qr cross reportInteger2
qr list reportInteger1

If you set a new type for an existing current report, it removes the previous settings and creates a new empty report, ready to be set.

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

See also

QR Get report kind

Properties

Command number738
Thread safeno
Modifies variableserror