Defining Rules
Rules let you assign values to non-input fields on a form. When you run the program, it moves the values you enter on the form to the database. You can define global rules or event rules for a form.
Global rules, also called form rules, govern the data on a form, regardless of the event you are in. You can define global rules only for Add or Change events. If a field is not an input field, you can assign a value to it when you define the form Add or Change event.
Event rules govern the data on the form only when you are in a specific event. You can assign values only to database-type fields. The value can be a value from another field or a constant value. You can also assign the current date to a date field, and the current time to a time field.
When the program creates or updates the record, it moves the value you assigned to the non-input field to the database. These field assignments are called event rules.
You define form (global) rules from the Format form and event rules from the Form Action Definition window. In the Form Action Definition window, EvtAsn appears on the line beneath the Form Action Events heading when you select a form action event that has form rules.
To define rules