17. Forms Statements : set_frs Statement--Set FRS Features : Suppressing Validation Error Messages
 
Share this page                  
Suppressing Validation Error Messages
When an application retrieves values from fields on a form into variables, the FRS performs a variety of validation checks to ensure that the data is valid before assigning it into the variables. The FRS returns error messages if it encounters invalid data. You can use set_frs to suppress the display of validation error messages that might result from the following statements:
getform
getrow
unloadtable
The syntax is:
set_frs frs (getmessages = 0|1|integer_variable)
To disable the display of validation error messages, specify 0. To enable display of validation error messages, specify 1. By default, display is enabled. If you use an integer variable, it must contain 0 or 1.