4D v14.3

QR SET TOTALS SPACING

Home

 
4D v14.3
QR SET TOTALS SPACING

QR SET TOTALS SPACING 


 

QR SET TOTALS SPACING ( area ; subtotal ; value ) 
Parameter Type   Description
area  Longint in Reference of the area
subtotal  Longint in Subtotal number
value  Longint in 0=no space, 32000=inserts a page break, >0=spacing added below the break level, <0=proportional increase

The QR SET TOTALS SPACING command sets a space below a subtotal row. It applies only to the list mode.

area is the reference of the Quick Report area.
subtotal is the subtotal level (or break level) that will be affected.

value defines the value of the spacing:

  • If value is 0, no space is added.
  • If value is 32000, a page break is inserted.
  • If value is a positive value, it expresses the spacing value in pixels.
  • If value is a negative value, it expresses the spacing as a percentage of the subtotal row. For example, -100 will set a space of 100% below the subtotal row.

Note: If the space below a subtotal row “pushes” the next row onto the following page, there will be no space inserted above the row on that page.

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

 
PROPERTIES 

Product: 4D
Theme: Quick Report
Number: 761

This command modifies the Error system variable

 
HISTORY 

Created: 4D 2003

 
SEE ALSO 

QR GET TOTALS SPACING

 
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)