17. Forms Statements : set_frs Statement--Set FRS Features : Setting a Form's Change Variable
 
Share this page                  
Setting a Form's Change Variable
Use the change constant to set a form's change variable. The syntax is:
set_frs form (change[(formname)] = value)
You can express the formname using a string literal, with or without quotes, or as a program string variable.
Value must be either 1 or 0, or an integer variable evaluating to 1 or 0. The value 1 indicates that a change has been made to the displayed data on the form; 0 indicates no change to the displayed data. This variant of the set_frs statement is particularly useful for resetting the change value to 0, because the value is automatically changed to 1 when the data is changed. A corresponding inquire_frs statement queries the current value of change.