Previous Topic: Parameter or Working Data FieldsNext Topic: Functions or Mathematical Expressions


Literals

The report detail definition can also use a literal value. For example, underscores can print as the last characters of each line. You can specify the entry for this literal as shown in the following sample:

=>

‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ IDEAL : RPT DETAIL DEFN. RPT CUSTRPT (001) TEST SYS: DOC DISP Field Name, Literal,      Sort   Break Function Column Function, or               L A L S I T M M A H W Command Arithmetic Expression      V / V K N O A I V D ID Tab Edit Pattern                                     L D L P D T X N G G TH ‑‑‑‑‑‑ ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ‑ ‑ ‑ ‑ ‑ ‑ ‑ ‑ ‑ ‑ ‑‑ ‑‑‑ ‑‑‑‑‑‑‑‑‑‑‑‑‑ ====== =========== T O P ======= = = = = = = = = = = == === ============= 000300 BADDEBT                    _ _ _ _ _ _ _ _ _ N __ ___ _____________ 000400 CUSTOMER.NAME              _ _ _ _ _ _ _ _ _ _ __ ___ _____________ 000500 CUSTOMER.CITY              _ _ _ _ _ _ _ _ _ _ __ ___ _____________ 000600 CUSTOMER.OPEN$             _ _ _ _ _ _ _ _ _ _ __ ___ Z,ZZZ,ZZ9.99 000700 '___'                      _ _ _ _ _ _ _ _ _ _ __ ___ _____________ ====== ========= B O T T O M === = = = = = = = = = = == === =============

If the length of the literal exceeds the space provided on the screen, you can continue the literal on the next line by typing +0 in the TAB field of the continued line. For example, specify the literal "This is an example of continuation" as follows:

        Field Name, Literal,      Sort   Break  Function Column
        Function, or               L A   L S I  T M M A  H W   
Command Arithmetic Expression      V /   V K N  O A I V  D ID Tab Edit Pattern
                                   L D   L P D  T X N G  G TH  
‑‑‑‑‑‑  ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑  ‑ ‑   ‑ ‑ ‑  ‑ ‑ ‑ ‑  ‑ ‑‑ ‑‑‑ ‑‑‑‑‑‑‑‑‑‑‑‑‑
000600  'This is an example of '   _ _   _ _ _  _ _ _ _  _ __ ___ _____________
000700  'continuation'             _ _   _ _ _  _ _ _ _  _ __ +0_ _____________

To ensure correct spacing when the two lines are concatenated, a space is included in the quotation marks at the end of the first line. If you leave out the space, you could specify the TAB as +1, rather than +0, to ensure correct spacing.