To work with the breaks in a batch Adelia program, click on the Control breaks button in the second button panel in the Question/Answer Programming Interface dialog box.
Control breaks are used to separate the various sections of a report. They detect changes to the values in the fields forming them, and as such can be used to calculate subtotals or totals, insert descriptions, change format, etc.
Lists
Control break
List of the breaks used in the source in the active document.
Each break is catalogued with its name, view name and file name.
This list is used to select a break in order to process it. When you select a break, its fields will immediately be shown in the right-hand list.
Single selection list.
Control break field
List of the fields in the break selected from the break list.
Single selection list.
Buttons
Create
Opens a dialog box that lets you create a control break.
Modify
Opens a dialog box that lets you view or modify the characteristics of the selected break.
This button will only be enabled if a break has been selected from the break list.
Delete
Deletes the selected break.
The break will only be deleted from the database when the dialog box is validated and closed. It will, however, be deleted from the break list immediately; as soon as the break is removed from the list, its field list will be cleared.
This button will only be enabled if a break has been selected from the break list.
Enter/Modify (Validation)
The Enter button (in display mode) closes the dialog box.
The Modify button (in modification mode) validates any modifications made either in the box or using the Create/Modify a control break dialog box.
Cancel
Closes the dialog box without validating any modifications made.
Keyboard shortcut: Esc.