Versions Compared

Key

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

7.21 DEF_BREAK

Note

Note: Usage options

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

...

Break lines are only printed when the condition specified in the TRIGGER_BY parameter is true. Break lines are primarily intended to produce level or control "break" lines in a report.

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

Also See

7.21.1 DEF_BREAK Parameters

7.21.2 DEF_BREAK Comments / Warnings

7.21.3 DEF_BREAK Example


Panel
bgColor#ffffcc

                                                                                           Required

  DEF_BREAK 

No Format
                                                        Required   DEF_BREAK

----

NAME

 NAME ---------

name of break group

 name of break group ------------>

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

                                                         Optional              >-- FIELDS

-----
                                                                                           Optional

                    >-- FIELDS -------

field

name  field

attributes

-------->

                                |           |               | |                                 |            --- 7 max -


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

|                                 | expandable group expression |                                  

  |
                                                 | expandable group expression |
                                                   ------

100

max

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

             >

                >--

TRIGGER_BY

-

--

*DEFAULT

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

                                list of field names                                | expandable group expression|                                 


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

max

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

             >

                 >--

TYPE

----------

*TRAILING

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

                                *LEADING              >--


                                                *LEADING

                 >-- SPACE_BEF

----

2

2 ------------------------------------>

                                decimal value              >--


                                               decimal value

                >-- SPACE_AFT

----

1

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

                                decimal value              >-- TEXT


                                               decimal value

                >-- 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


                                            *COLHDG
                                            *NOID

             >--

DOWN_SEP

--- 1 --------

1

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

                                decimal value


                                           decimal value

             >--

ACROSS_SEP

- 1 ---------

1

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

                                decimal value


                                          decimal value

             >--

HEAD_COND

- *NONE ------

*NONE

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

                                name of condition


                                         name of condition

             >--

SUBROUTINE

SUBROUTINE - *NONE ------

*NONE

--------------------------|

                                name of


                                         name of subroutine