Difference between revisions of "SET POSTFORM"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
SET PREFORM, SET PRERECORD, SET POSTRECORD, @...GET, CREATE SCREEN, MODIFY SCREEN, CREATE, MODIFY STRUCTURE, SET JOURNAL
+
[[@...GET]], [[CREATE]], [[CREATE SCREEN]], [[MODIFY SCREEN]], [[MODIFY STRUCTURE]], [[SET JOURNAL]], [[SET PREFORM]], [[SET PRERECORD]], [[SET POSTRECORD]]
  
  
Line 25: Line 25:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set postform to save_count
 
set postform to save_count
edit</pre>
+
edit</code>
  
  
 
==Products==
 
==Products==
 
Recital Mirage Server, Recital Terminal Developer
 
Recital Mirage Server, Recital Terminal Developer
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|POSTFORM]]

Revision as of 11:35, 12 March 2009

SET POSTFORM

Class

Screen Forms


Purpose

Define a postform trigger to execute as the format file is exited


Syntax

SET POSTFORM TO [<procedure-name> | (<expC>)]


See Also

@...GET, CREATE, CREATE SCREEN, MODIFY SCREEN, MODIFY STRUCTURE, SET JOURNAL, SET PREFORM, SET PRERECORD, SET POSTRECORD


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 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 Mirage Server, Recital Terminal Developer