Sybase InfoMaker 11.5, CD, Win, ENG Spécifications Page 593

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 828
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 592
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.”
Vue de la page 592
1 2 ... 588 589 590 591 592 593 594 595 596 597 598 ... 827 828

Commentaires sur ces manuels

Pas de commentaire