Sybase InfoMaker 11.5, CD, Win, ENG Especificaciones Pagina 311

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 828
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 310
CHAPTER 8 Displaying and Validating Data
Users Guide 289
Defining validation rules
Typically, you define validation rules in the Database painter, because
validation rules are properties of the data itself. Once defined in the Database
painter, the rules are used by default each time the column is placed in a form.
You can also define a validation rule in the Report painter that overrides the
rule defined in the Database painter.
Defining a validation rule in the Database painter
This section describes the ways you can manipulate validation rules in the
Database painter.
To create a new validation rule
1 In the Extended Attributes view in the Database painter, right-click
Validation Rules and select New from the pop-up menu.
The Validation Rule view displays in the Properties view.
2 Assign a name to the rule, select the datatype of the columns to which it
applies, and customize the error message (if desired).
For information, see “Customizing the error message” on page 291.
3 Click the Definition tab and define the expression for the rule.
For information, see “Defining the expression” on page 290.
You can use this rule with any column of the appropriate datatype in the
database.
Vista de pagina 310
1 2 ... 306 307 308 309 310 311 312 313 314 315 316 ... 827 828

Comentarios a estos manuales

Sin comentarios