Specifications

CHAPTER 20 Enhancing Forms
Users Guide 571
You modify properties based on conditions you specify by entering an
expression in the Properties view for the control. In this example, the
expression for the salary column's color property is:
if( employee_salary > 30000, 255, 0 )
For more information
For information on modifying properties based on conditions you specify, see
Chapter 10, “Highlighting Information in Reports and Forms.” The technique
works the same way in forms and reports.
Displaying and validating data in a form
Some of the most important ways to enhance forms are to create:
Display formats to specify how values are formatted
Edit styles to specify styles in which values are presented and entered
Validation rules to ensure that values entered in forms are valid
Display formats, edit styles, and validation rules are usually created in the
Database painter (if you have access to the database). In the Form painter, the
database definitions apply to the data unless you override them with new
definitions. The new definitions you create in the Form painter do not affect the
definitions in the database; the definitions are used only in the form.
For more information, see Chapter 8, “Displaying and Validating Data.”