Defining Linesets [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation
HP ALLBASE/BRW Reference Manual
Defining Linesets
A lineset is a unit printed when a certain event occurs in a report, for
example, when a detail occurs. A lineset can consist of a single line of
text and items, multiple lines, or no lines.
You define linesets at the Define Lines screen. There is a different
Define Lines screen for each lineset type. For instance, if you want to
define the lines for the page heading, you must go to the Define Lines
screen for Page Heading.
To get to the Define Lines screen
1. From the Define Report screen, choose Define Lines.
A prompt appears, asking which lineset you want to define.
Specify lineset level (D,P,R,1..9): and type (H,F):
2. In the first field of the prompt, type one of these options:
a. D for detail
b. P for page
c. R for report
d. 1 through 9 for a break level.
3. In the second field, type one of these options (if you are doing a
heading or a footing):
a. F for footing
b. H for heading
4. Press Enter.
The Define Lines screen appears for the lineset you request.
To add a lineset
1. Go the the Define Lines screen (as described previously in the
"Defining Linesets" section of this chapter).
Your cursor will be in the lower part of the screen below the page
ruler markings.
2. Type a line number for the first line of the page heading in the
first field of the line.
3. Type any text you want to appear on the line in the second field
of that line.
4. Press Enter.
5. Repeat the three previous steps for every line you want in the
page heading.
6. Type the item name and information for any items you want to use
in the page heading.
As you enter the information for each line, the top portion of the screen
will show what the report layout looks like. An asterisk (*) appears in
the line number field for the line number you are currently entering.
To position items on the lines of the lineset
1. Type the name of the item in the Item field.
2. In the Pos field, type the column number where you want the first
character of the field to be placed.
3. In the Line field, type the number of the line where you want the
item placed. This is optional. If you want to use the current
lineset you can leave the number blank. The current lineset is
indicated by an asterisk (*) in the left-hand (line number) field
of the upper screen.
4. In the Len field, type a number of characters you want printed.
This is optional. If you want to use the full length of the item,
just leave this field blank and HP ALLBASE/BRW will fill it in for
you after you press Enter.
5. In the ColCalc field, type a column calculation that you want
performed, if any.
6. In the NumPrec field, type a number and the method code for the
numeric precision you want (if the field is a number field).
7. Type a number for 1 to 9 in the SupRep field if you want to
designate a particular break level (1 to 9) at which to suppress
repeat printings of this particular item value.
Items placed within the lineset should not overlap with text or other
items.
NOTE You can press Enter at any time on this screen. When you do, the
lines you have defined or modified will appear at the top of the
screen. Use the Scroll key to move left and right if your layout
exceeds the screen width.
For more details about the Define Lines screen and field descriptions,
see the Define Lines section of Chapter 16 .
MPE/iX 5.0 Documentation