Skip to main content
Version: 20 R7 BETA

QR Get report kind

QR Get report kind ( area ) -> Function result

ParameterTypeDescription
areaIntegerReference of the area
Function resultLongintType of the report

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

Description

The QR Get report kind command retrieves the report type for the area whose reference was passed in area.

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

You can also compare the function result with the constants of the QR Report Types theme:

ConstantTypeValue
qr cross reportLongint2
qr list reportLongint1

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

See also

QR SET REPORT KIND