Skip to main content
Version: Next

QR GET TOTALS SPACING

QR GET TOTALS SPACING ( area ; subtotal ; value )

ParameterTypeDescription
areaIntegerReference of the area
subtotalIntegerSubtotal number
valueInteger0=no space, 32000=inserts a page break, >0=spacing added below the break level, <0=proportional increase

Description

The QR GET TOTALS SPACING command retrieves 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. subtotal is a value between 1 and the number of the subtotal/sort.

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.

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.

See also

QR SET TOTALS SPACING

Properties

Command number762
Thread safe
Modifies variableserror