Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : $RPTSKIPLINES

$RPTSKIPLINES
Controls explicitly the spacing of a report. (C)
Invocation
CALL $RPTSKIPLINES(reportname, reporttable, element, linesbefore, linesafter)
 
The name of the report that is to be printed. Its syntax is C (fixed-length character string) with length 16.
The name of the report table or break table to which the spacing applies. An asterisk (*) means all report tables. Its syntax is C with length 16.
Usage Notes
If reporttable is specified as an empty string (''), the spacing applies to the value specified for element.
If element is specified as an empty string (''), the spacing applies to either before or after the entire reporttable. If the element that is specified does not exist in the report, the specification is ignored.
If reporttable and element are both specified as an empty string (''), the spacing applies either before or after the entire report.
Example
The following rule adds spaces before and after the title and heading elements of the report table DEPT_EXPENSE_BD. A call to $RPTSKIPLINES is made for each explicit modification to the report table.

 
RULE EDITOR ===> SCROLL: P
DEPT_EXPENSE_SKP;
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ FORALL EMPLOYEE_EXPENSE WHERE MONTH = '2000-05-01' : | 1
_ DEPT_EXPENSE_BD.* = EMPLOYEE_EXPENSE.*; |
_ DEPT_EXPENSE_BD.MONTH = '2000-05-01'; |
_ INSERT DEPT_EXPENSE_BD('DEPT_EXPENSE_RP'); |
_ END; |
_ CALL $RPTSKIPLINES('DEPT_EXPENSE_RP', 'DEPT_EXPENSE_BD', | 2
_ 'T', 3, ''); |
_ CALL $RPTSKIPLINES('DEPT_EXPENSE_RP', 'DEPT_EXPENSE_BD', | 3
_ 'T', '', 3); |
_ CALL $RPTSKIPLINES('DEPT_EXPENSE_RP', 'DEPT_EXPENSE_BD', | 4
_ 'H', '', 2); |
_ CALL $RPTPRINT('DEPT_EXPENSE_RP', 'SCR'); | 5
_ ---------------------------------------------------------------------------

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved