4D v14.3

QR SET REPORT KIND

Home

 
4D v14.3
QR SET REPORT KIND

QR SET REPORT KIND 


 

QR SET REPORT KIND ( area ; type ) 
Parameter Type   Description
area  Longint in Reference of the area
type  Longint in Type of the report

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:

Constant Type Value
qr cross report Longint 2
qr list report Longint 1

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.

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 738

This command modifies the Error system variable

 
HISTORY 

Created: 4D 2003

 
SEE ALSO 

QR Get report kind

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)