You will define the following sum lines, shown on the printout in About working with report lines:
- TOTAL EXPENSES
- TOTAL
Before creating the lines holding the detail information, the lines holding the totals, i.e. the lines Total Expenses and Total must be created. The reason is that when creating the detailed lines you refer to the sum lines.
- Select the Work with reports menu item.
- On the main panel, select the applicable line report and click Lines.
- You access Work with report lines. When you access this panel for a new report, it is empty. Click Add.
- You access the detail panel. The first line to create is number 100, since this line is prerequisite to the other lines created in this report. Enter the following information:
- Line number
- Enter 100.
- Line text
- Enter “Total”.
- Line code
- Enter the line code. Enter 2 = Sum line.
- Print code
- Enter a code to determine how the line should appear when printed. Enter 2 = Double underline.
- Blanks before
- Enter the number of blank lines that should precede this line, i.e. 1.
- You remain on the same panel, ready for a new entry. Complete the fields as follows:
- Line number
- Enter 90.
- Line text
- Enter “Total expenses”.
- Line code
- Enter the line code, i.e. 2 = Sum line.
- Print code
- Enter a code to determine how the line should appear when printed. Enter 1 = Single underline.
- Sum to line
- Enter the line number to which the value of this line should be carried for summation. Enter 100 = the total line.
Click OK to update.
Click OK to update your new sum lines. To create the item lines, follow the instructions in Define an item line. Exit the routine.