QR SET TOTALS SPACING

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2003


QR SET TOTALS SPACING (area; subtotal; value)

ParameterTypeDescription
areaLongintReference of the area
subtotalLongintSubtotal number
valueLongint0=no space, 32000=inserts a page break,
>0=spacing added at the top of the break level,
<0=proportional increase

Description

The QR SET TOTALS SPACING command allows you to set a space above 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 equals 0, no space is added.

If value equals 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% above the subtotal row.

Note: If the space above a subtotal row "pushes" the row to the next 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.

See Also

QR GET TOTALS SPACING.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next