4D v14.3

QR Get report kind

Home

 
4D v14.3
QR Get report kind

QR Get report kind 


 

QR Get report kind ( area ) -> Function result 
Parameter Type   Description
area  Longint in Reference of the area
Function result  Longint in Type of the report

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:

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

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

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 755

This command modifies the Error system variable

 
HISTORY 

Created: 4D 2003

 
SEE ALSO 

QR SET 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)