HP 3000 Manuals

Define Lines Screen [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation


HP ALLBASE/BRW Reference Manual

Define Lines Screen 

Use this screen to layout text and items in each lineset for a report.

[]
[]
[]
[]
This screen consists of three parts. The top section is called the report window and displays the current report layout. The middle section contains both the current line number field and the line text field in which literal text is entered. The bottom of the screen contains item layout details. Since your report may be wider than the screen can show at one time, the Scroll---> softkey lets you see other portions of the screen and access more space for text. Adding a new line of text to a lineset To enter literal text 1. Type the new line number in the small field to the left of the ruler bar. 2. Type text in the wide field under the ruler bar. 3. Press Enter. The new line becomes the current line. The line number and line are displayed in the top half of the screen. To continue typing text that is longer than 75 characters 1. Use Scroll---> to access additional room for the text. 2. Type the remaining text for this line. 3. Press Enter. Inserting a line in front of another line in the lineset 1. Type the line number before which the new line will be inserted. 2. Type text for the line, using Scroll---> to access more space for the line if necessary. 3. Press Insert Line. The lines following the inserted line are automatically renumbered. The new line becomes the current line. Modifying a line of text To modify a line of text 1. Select the line to be modified by choosing Prev Line or Next Line. You can also use QUICK BROWSE to access the line. See Chapter 1 for details about the QUICK BROWSE feature. 2. Make changes to the text. 3. Press Enter. Positioning items To position items 1. Type the name of the item in the Item field. 2. Type the position, line number, length, column calculation (if any), and numeric precision for this item. See the Field Description section for details about these fields. To position an item in the next available position on a line, type > in the Pos field. 3. Type a number (1-9) in the SuppRep field if you want to suppress repetition for this item. The number represents the break level for the item. 4. Press Enter. The item's type, position, line number and length are displayed in the top half of the screen. An edit mask is used to display the items. For instance, the edit mask 0m/0d/yy is displayed where a date item using that edit mask is to be placed. XXXXXX represents the edit mask for a string item and ZZZ represents the edit mask for a numeric item. Replacing a line of text To replace a line 1. In the line number field, type the number of the line on which you want to replace text. 2. In the text field under the ruler bar, type the replacement text, overwriting previous text if necessary. Use Scroll---> to access more space for the line. 3. Press Enter. Deleting and Copying To delete lines in a lineset 1. Choose Delete Lines. 2. When you see the prompt for the line number(s) to be deleted, type a single line number, or type number/number, to indicate a range of numbers. For example, 2/6 means that lines 2 through 6 will be deleted. 3. Press Enter. Note that, if items have been positioned on the deleted lines, the items remain on the item layout section of the screen but are not printed. They disappear from the report window. The subsequent lines are renumbered. To copy "as is" lines to the current lineset 1. Choose Copy Lines. 2. When you see the prompt, type: * a single line number or number/number, to indicate a range of line numbers * the lineset level and type from which you are copying * the destination line number 3. Press Enter. The lines and items are copied, and the line numbers are renumbered within the current lineset. To copy a sample layout of lines to the current lineset 1. Choose Copy Lines. 2. When you see the prompt, type the following: * a single line number or number/number, to indicate a range of line numbers * the lineset level and type * the destination line number * S for sample layout 3. Press Enter. Only the layout (from the report window) is copied; items are not copied. This feature provides you with a working layout in the current lineset. Moving lines and items To move lines and their positioned items 1. Press Move Lines. 2. When you see the prompt, type: * a single line number or number/number, to indicate a range of numbers that you want to move; * the destination line number. 3. Press Enter. a. The following lines are renumbered. To delete an item from a lineset 1. Blank out the name of the item. 2. Press Enter. To define calculations/precision without printing the item 1. Type the item in the Item field. 2. Do not type a position or line number. 3. Press Enter. Banner Line The banner line (at the top of the screen) shows which lineset is current; for example, Page Heading in the banner indicates that this is the page heading lineset. Report Window Display. Line numbers and text of the current lineset. Uses these symbols: ------------------------------------------------------------------------------------------- | | | * indicates the current line | | | | < indicates text or items to the left of the | | screen display | | | | > indicates text or items to right of the | | screen display | | | ------------------------------------------------------------------------------------------- The defined edit mask is displayed at the position of the item. Literal text is displayed as it was typed in the line text field. At the top and bottom of the report window, a ruler indicates column positions along the line. For any number along the ruler, the first digit corresponds to the exact column position. In this example, ....|....10... the digit 1 indicates position 10 on the line. Field Descriptions Line Number Number of the current line being edited. This field is not labelled on the screen. It is the small field on the left side of the screen. Line Text Text for the current line can be positioned at any point along this line; this field is also not labelled on the screen. It is located just below the ruler line near the center of the screen. Item Name of each item in this lineset; can be an alias name if one has been defined on the Project Items screen. Specify array components as shown: turnover (1) turnover (2) Specify parameters in this way: ?month Type Display. The type of the item: ------------------------------------------------------------------------------------------- | | | S string | | | | N numeric fixed point | | | | I integer | | | | R floating-point Real | | | | D date | | | | T time | | | ------------------------------------------------------------------------------------------- Pos Optional. The column position at which the print field for this item begins. Use > to put the item in the next free position after two blanks. If you do not put a column position in this field, the item will not print on the report. There can be cases where this is what you want to do. For instance, if you want to use the item for a calculation, but do not want it to print in the report. Line Optional. The line number on which this item is positioned in this lineset. Default is the current line. Len Optional. The print field length for this item. The default is determined by the item length and edit mask defined on the Item Edits screen. ColCalc Optional. The type of column calculation to be performed on this item and the level at which the calculation is to be reset. For item types N, R, and I, this can be one of the following: COUNT TOTAL AVG MIN MAX CALC Optionally, you can add a running level and/or a source level to the name of the column calculation, for example TOTAL1,2. These are described earlier in this chapter under "Column Calculation Reset Levels" and "Column Calculation Source Levels." NumPrec Optional. Numeric precision of this item if you want precision changed at this stage in the report. Type a number and method code. The number indicates the power of 10 or 10th exponent that indcates the precison. See Chapter 15 , Defining Calculations, for an explanation of precision. ------------------------------------------------------------------------------------------ | | | Valid number range for item type N: -6 through 12; | | | | for item type I: 0 through 8; | | | | for item type R: -90 through 76. | | | ------------------------------------------------------------------------------------------ The method code indicates how superfluous digits are to be treated: ------------------------------------------------------------------------------------------- | | | Method Code Digits are: | | | ------------------------------------------------------------------------------------------- | | | R rounded | | | | T truncated | | | | C ceiled | | | ------------------------------------------------------------------------------------------- Note the following examples: ------------------------------------------------------------------------------------------ | | | If the value is: with this numeric precision: the result with changed precision: | | | 1024.3849 -2R 1024.38 | | | | 864186.46 3C 865000.00 | | | ------------------------------------------------------------------------------------------ SuppRep Optional. A number (from 1 to 9) corresponding to the sort level to suppress repeated printing of an item value, that is, an item is only printed on the first detail within this break. Soft Keys Insert Line After you have typed text for a line, choose this softkey to insert the line. If you have not typed a line number in the line number field, or have typed a new line number in the line number field, the new line is added after the last line number. If you typed an existing line number in the line number field, the line is added before the line number you used. Delete Lines Choose this key when you want to delete a line. You are prompted to type a line number or a range of numbers to be deleted. The syntax for the range is: number/number. For example, 2/6 deletes lines 2 through 6. Prev Line Changes the current line number to the previous line number. Next Line changes the current line number to the next line number. Item Edits Takes you to the Item Edits screen for the lineset you are on. At the prompt: Edit-mask for item, typing the name of the item you want to edit. Layout Calcitem Takes you to the Layout Calc Item screen. Prev Items Shows the previous group of items if the list of items is too large for one screen. Next Items Shows the next group of items if the list of items is too large for one screen. Copy Lines Choose this softkey to copy a line or a group of lines. Answer the prompt with: * a single line number or a range of numbers. Use this syntax for a range of numbers: number/number. * the lineset level and type for the lineset you are copying * the line number where you want the copy Move Lines Choose this softkey to move a line or a group of lines. Answer the prompt with: * a single line number or a range of numbers. Use this syntax for a range of numbers: number/number. * the lineset level and type for the lineset you are copying * the line number where you want the copy Review Layout Takes you to the Review Layout screen. Select Lineset Choose this softkey to select a different lineset for the Define Lines screen. For instance, if you are on the Define Lines screen for the Report Heading, you can choose Select Lineset and answer the prompt with another lineset type (such as Report Footing) and level. This choice prompts for the level and type of lineset to be accessed. You respond with: P (for page) plus H (page heading) or F (page footing) R (for report) plus H (report heading) or F (report footing) 1 - 9 (break level) plus H (break heading) or F (break footing) D (for detail line) The Item Edits screen for the selected lineset and the current item appears. The current item is the item that appears in the Item field. Suppress Line Takes you to the Suppress Line screen. Respond to the prompt Suppress condition for line by typing the number of the line you want to suppress. Use Items Takes you to the Use Items screen.


MPE/iX 5.0 Documentation