Difference between revisions of "SET POSTFORM"

From Recital Documentation Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET POSTFORM=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==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]], [[CREATE]], [[CREATE SCREEN]], [[MODIFY SCREEN]], [[MODIFY STRUCTURE]], [[SET JOURNAL]], [[SET PREFORM]], [[SET PRERECORD]], [[SET POSTRECORD]]  
+
[[@...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 TOTO <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 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 27: Line 20:
 
<code lang="recital">
 
<code lang="recital">
 
set postform to save_count
 
set postform to save_count
edit</code>
+
edit
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|POSTFORM]]
 
[[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