QR Get report kind

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


QR Get report kind (area) Longint

ParameterTypeDescription
areaLongintReference of the area
Function resultLongintType of the report

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:

ConstantValue
qr list report1
qr cross report2

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

See Also

QR SET REPORT KIND.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next