HelpPages

Home | Developer | Frames | Documents | Settings

Settings

    DOCUMENTS - SETTINGS

    The configuration of documents is usually done with AppDesigner. The basic concept is to design a line of print masks, separated by a separator mask, followed by a final line separator (printing), followed by the list of expressions for each mask. The concept is closer to LPRINT USING (basic) that printf (c).
    An example would be:

Name: \                                      \ | amount: ###,###.## ¦ 'John Smith', 32415.25 0

    In this example we have two masks, masks separator <|>, the final line separator <¦> and two data, the first alphanumeric and the second numeric.
    The masks can only be alphanumeric and numeric, masks separator is "|" (AltGr-1) (Alt 124), data can be fixed or variable, but must match the type of mask. So an alpha mask, must correspond a fixed data type 'aaa', variable of type alpha (completed in $) or an alpha field (or active display table / file). The numeric mask may have correspondence in a fixed number, an integer variable (no $ or #), a numerical (#), or a numeric field.
    The end of line separators (¦) can be of three types, normal, feedback or loop. The standard separator indicates that the line is printed only once in the particular position in which it is in the document. The separator loop, indicating that begins a list of lines from the position of the line to the next line or to the order page. Used to list lines. The retro-type separator, is designed as a line of summary at a variable position, and then has to be a loop. A typical use would be to partial and total sums.