SET VALIDATE
From Recital Documentation Wiki
Revision as of 11:45, 11 March 2009 by Yvonnemilne (Talk | contribs)
Contents
SET VALIDATE
Class
Screen Forms
Purpose
Signify that data entered in a field on a form has passed validation checks
Syntax
SET VALIDATE ON | OFF | (<expL>)
See Also
@…GET, SET FIELDVAL, MENU AT
Description
The SET VALIDATE ON command is used to signify that data entered in a field on a form, which was specified with the @...GET VALIDATE WITH <procedure> command, has passed validation checks. The SET FIELDVAL command can be used to modify the contents of the field on the form. The validation procedure will only be called if data is entered in the field on the form, or the [HELP] key is pressed. See @...GET VALIDATE WITH for full details.
Example
procedure check_event parameter s select b seek s if not found() set fieldval to "BALLET" endif select a set validate on return @10,10 say "Event "; get event; must_enter; validate with check_event read
Products
Recital Mirage Server, Recital Terminal Developer