Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.24 DEF_HEAD

Note
Note: Usage options

The DEF_HEAD command is used to define one or more heading lines for inclusion on a report.

...

Heading lines are only printed when the condition specified in the TRIGGER_BY parameter is true and are used to begin or trigger a new page in the report.

You should read Producing Reports Using LANSA in the Developers Guide before attempting to use a DEF_HEAD command.

Portability Considerations

Refer to Parameter TEXT

 

.

Also See

7.24.1 DEF_HEAD Parameters

7.24.2 DEF_HEAD Comments / Warnings

7.24.3 DEF_HEAD Examples


Panel
bgColor#ffffcc

                                                                                            Required

  DEF_HEAD

No Format
                                                       Required  DEF_HEAD

-----

NAME

-----------

name

of

heading

group

---------->

 -----------------------------------------------------------------

                                                         Optional             >-- FIELDS

-----
                                                                                            Optional

                     >-- FIELDS ----------

field

name  field

attributes

-------->

                                |           |               | |                                 |            --- 7 max


                                                     |                  |                        |    |
                                                     |                   --- 7 max -------  |

                                | expandable group expression |                                  


                                                     | expandable group expression |
                                                       ------

100

max

--------------

             >

                   >--

TRIGGER_BY

-----

*OVERFLOW

------------------------>

                                list of field names                                |expandable group expression|                                 


                                                      list of field names
                                                     | expandable group expression |
                                                        --------20

max

------------

             >

                   >--

TEXT

-------------

'text'

----

line/

----

position

position -------->

                               |           row       column   |                                 


                                                     |                row        column      |
                                                      -----------

50

max

-----------

                                 


                                                     *TMAPnnn  1  1  (special

value)

             >

                   >--

FOR_REPORT

---

1

1 ------------------------------------->

                                report number 1 -> 8              >-- DESIGN


                                                    report number 1 -> 8-

                  >-- DESIGN ---------

*ACROSS

----------------------------->

                                *DOWN              >-- IDENTIFY


                                                    *DOWN

                 >-- IDENTIFY --------

*LABEL

------------------------------->

                                *COLHDG                                 *NOID              >-- DOWN_SEP


                                                   *COLHDG
                                                  *NOID

               >-- DOWN_SEP ------

1

1 ------------------------------------->

                                decimal value              >-- ACROSS_SEP


                                                  decimal value

               >-- ACROSS_SEP -----

5

5 --------------------------------------|

                                decimal


                                                 decimal value