# @wgt

Description:

Processing_tables occurs when the report process breaks for grand totals. If the environment variable PFWGT0=ON, FilePro will execute the @WGT processing even if no records are selected.

Note: @wgt trigger can only be used on the OUTPUT processing table.

User definable "trigger" processing can be written to occur when the designated event happens. In filePro, these types of processing are given labels and that is where the processing starts up when the trigger is pulled. This is called "when processing" and said as "when Enter Selection", "when entering field nnn", "when leaving field nnn", and sometimes "@when leaving field n" or "@key X", etc. The @ starting all these labels may be considered to mean "at", or "at the moment when this trigger is activated".

There are important rules to follow for each of these types of processing.