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

version 2003


QR SET REPORT KIND (area; type)

ParameterTypeDescription
areaLongintReference of the area
typeLongintType of the report

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:

ConstantValue
qr list report1
qr cross report2

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.


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