4D v14.3

QR Count columns

Home

 
4D v14.3
QR Count columns

QR Count columns 


 

QR Count columns ( area ) -> Function result 
Parameter Type   Description
area  Longint in Reference of the area
Function result  Longint in Number of columns in area

The QR Count columns command returns the number of columns present in the Quick Report area.

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

Example  

The following code retrieves the column count and inserts a column to the right of the rightmost existing column:

 $ColNb:=QR Count columns(MyArea)
 QR INSERT COLUMN(MyArea;$ColNb+1;->[Table 1]Field2)

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 764

This command modifies the Error system variable

 
HISTORY 

Created: 4D 2003

 
SEE ALSO 

QR DELETE COLUMN
QR INSERT COLUMN

 
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)