Difference between revisions of "SET POSTFORM"
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(4 intermediate revisions by 2 users 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 15: | Line 8: | ||
==See Also== | ==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== | ==Description== | ||
− | The POSTFORM trigger procedure executes a procedure upon exiting a format file with the [EXIT/SAVE] key. The SET POSTFORM | + | 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. | 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. | ||
Line 25: | Line 18: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
set postform to save_count | set postform to save_count | ||
− | edit</ | + | edit |
+ | </code> | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
+ | [[Category:Documentation]] | ||
+ | [[Category:Commands]] | ||
+ | [[Category:Set_Commands|POSTFORM]] | ||
+ | [[Category:Screen Forms]] | ||
+ | [[Category:Screen Forms Set Commands]] | ||
+ | [[Category:Triggers]] | ||
+ | [[Category:Triggers Set 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