Define Breaks Screen [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Reference Manual
Define Breaks Screen
Use this screen to set the sort sequence and specify pagination
requirements for a report layout.
To define a sort and break
1. Type the name of the Sort Item, Level and Order, and Change Degree
for Break.
2. Press Enter.
To delete a sort and break
1. After associated linesets have been deleted, blank out the name of
the item.
2. Press Enter.
Other items are rearranged in sort order.
To change sort levels
1. Type in new sort levels.
2. Press Enter.
The system automatically rearranges items according to the new sort
levels.
Optional settings (RESET PAGE on LEVEL, SUPPRESS REPITITION, SWITCH
DESTINATION LEVEL and COLCALC LEVEL) which are related to break items are
changed accordingly.
To delete a lineset
1. Choose Delete Lineset.
2. At the prompt, type the level and type of the lineset you want to
delete.
3. Press Enter or choose Delete Lineset to confirm the deletion.
To define pagination
1. Type Paging and Absolute Position for this lineset. Also, change
Page Length and Reset Page Number on Level, if required.
2. Press Enter.
Field Descriptions for Sort and Break
Sort and Break on Item
The name of the item for which you are defining sorts and breaks.
The breaks for detail line headings and footings (Detail Lines), page
headings and footings (Page Break), and report headings and footings
(Report Break) are already shown for your information.
Type
Display. The type of this item.
S = String
N = Numeric
R = Real
I = Integer
T = Time
D = Date
Sort Level
Sort level for this item, from 1 (highest) to 9 (lowest). These can be
non-sequential numbers, for example, 4, 8, 9. Non-sequential numbers are
reduced to sequential when you press Enter. For example, if you selected
sort levels 4, 8, and 9, they would become 1, 2, and 3. Or, if you had
selected 1, 2, and 3 but had deleted 2 before pressing Enter, the
sequence would automatically become 1 and 2.
Order
Optional. Type A for an ascending sort order for this item (default); D
for a descending sort order.
Change Degree for Break
Optional. For string items, type the position of the character, counting
from the left and including leading blanks, at which a break should
occur.
For numeric items, type a number which is the least significant digit for
the break as the 10th exponent of this digit.
------------------------------------------------------------------------------------------
| |
| Valid ranges for numeric type N: -6 through 12 |
| |
| for integer type I: 0 through 8 |
| |
| for real type R: -90 through 76 |
| |
------------------------------------------------------------------------------------------
For time items, type one of the following:
-------------------------------------------------------------------------------------------
| |
| H - to break when the hour changes |
| |
| HM - to break when the hour or minute change |
| |
| HMS- to break when the hour, minute or second |
| changes (default) |
| |
-------------------------------------------------------------------------------------------
For date items, type one of the following:
-------------------------------------------------------------------------------------------
| |
| Y - to break when the year changes |
| |
| YM - to break when the year or month change |
| |
| YMD- to break when the year, month or day |
| changes (default) |
| |
-------------------------------------------------------------------------------------------
Field Descriptions For Pagination
Pagination for detail linesets is defined in the heading column on the
right side of the screen. Pagination of linesets for page break, report
break and all other breaks are defined under the respective heading and
footing columns.
Page Length
Optional. The number of lines on the page. The same value is displayed
on the Define Report screen. This can be changed here or on the Define
Report screen.
Reset Page Number on Level
Optional. The sort level at which the report's page numbering resets to
page 1. A new page is started automatically when the page number is
reset to 1. If a break which has a level lower than the reset page
number level occurs, the page number is reset to 1 between the footing
and heading of that break.
Lines
Display. The number of lines defined for each lineset.
Paging
Optional. One or any combination of the following codes to indicate when
a new page should start:
-------------------------------------------------------------------------------------------
| |
| A = after printing a lineset; |
| |
| B = before printing a lineset; |
| |
| S = a lineset should be split. |
| |
-------------------------------------------------------------------------------------------
The default is that linesets are not split, and a new page is started
before a lineset if it does not fit completely on the rest of the page.
Abs
Optional. Absolute position at which a lineset is placed on the page.
The default is that a lineset is printed directly after the preceding
lineset.
To reserve space even if the lineset is not to be printed on that page,
type R after the line number. If another lineset is absolute positioned,
it can occupy this space, even if it is reserved. Only linesets which
are not absolute positioned leave this space free.
If an absolute positioned lineset overlaps page heading or footing, the
page heading/footing is suppressed on that page.
MPE/iX 5.0 Documentation