Versions Compared

Key

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

7.85 KEEP_TOTAL

Note
Note: Usage options

The KEEP_TOTAL command is used to keep the total of field(s) in another field.

Note
Note: RDMLX Fields cannot be used with this command.

The KEEP_TOTAL command is only valid within SELECT or SELECTLIST command loops, because the processing logic used is implicitly linked to the SELECT / SELECTLIST loop logic.

Normally the KEEP_TOTAL command is entered directly after the SELECT or SELECTLIST command. However, there are specific exceptions to this. Refer to the examples section for more details.

Also See

7.85.1 KEEP_TOTAL Parameters

7.85.3 KEEP_TOTAL Examples

7.85.2 KEEP_TOTAL Comments / Warnings

...


Panel
bgColor#ffffcc

                                                                                          Required

  KEEP_

...

TOTAL ---

...

OF_

...

FIELD ---- list of field names --

...

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

                             | expandable group expression |

...

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

...

--

...

50 max -

...

-----------

...

                            IN_FIELD ---- field name ---

...

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

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

...

-----

                                                                                          Optional

                             BY_FIELD

                                                         Optional

...

----

...

*

...

SELECTED --------....---------------|

                               list of field names

                              | expandable group expression |

...

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

...

  20 max ----------