Validating user input  Understanding validation rules

Chapter 21: Displaying and Validating Data

About validation rules

When users enter data in a DataWindow object, you want to be sure the data is valid before using it to update the database. One way to do this is through validation rules.

You usually define validation rules in the Database painter. To use a validation rule, you associate it with a column in the Database painter or DataWindow painter.

NoteAnother technique You can also perform data validation through code tables, which are implemented through a column's edit style.

For more information, see “About edit styles”.





Copyright © 2004. Sybase Inc. All rights reserved. Understanding validation rules

View this book as PDF