Difference between revisions of "SET POSTFORM"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Define a postform trigger to execute as the format file is exited | Define a postform trigger to execute as the format file is exited | ||
Line 29: | Line 25: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Latest revision as of 16:56, 23 November 2009
Purpose
Define a postform trigger to execute as the format file is exited
Syntax
SET POSTFORM TO [<procedure-name> | (<expC>)]
See Also
@...GET, APPEND, CHANGE, CREATE, CREATE SCREEN, EDIT, FMT(), Function Keys, INSERT, MODIFY SCREEN, MODIFY STRUCTURE, QUERY, SET FORMAT, SET JOURNAL, SET POSTRECORD, SET PREFORM, SET PRERECORD
Description
The POSTFORM trigger procedure executes a procedure upon exiting a format file with the [EXIT/SAVE] key. The SET POSTFORM TO <procedure-name> command defines the procedure or program name to be executed. The filename can be substituted with a <expC>, enclosed in round brackets, which returns a valid filename. The SET POSTFORM TO command clears the active <procedure-name>.
The SET POSTFORM trigger can also be defined from within the SCREEN PAINTER work surface. The POSTFORM procedure option from the TRIGGERS menu is used to define the trigger name. The [HELP] key may be pressed here to edit the trigger file from inside the SCREEN PAINTER.
Example
set postform to save_count edit
Products
Recital