About DataWindow objects  How to use DataWindow objects

Chapter 17: Defining DataWindow Objects

DataWindow object examples

You can display the data in the format that will best present the data to your users.

Edit styles

If a column can take only a small number of values, you can have the data appear as radio buttons in a DataWindow object so users know what their choices are.

Figure 17-1: DataWindow example with radio buttons

Display formats

If a column displays phone numbers, salaries, or dates, you can specify the format appropriate to the data.

Figure 17-2: DataWindow example with formatted data

Validation rules

If a column can take numbers only in a specific range, you can specify a simple validation rule for the data, without writing any code, to make sure users enter valid data.

Enhancing DataWindow objects

If you want to enhance the presentation and manipulation of data in a DataWindow object, you can include computed fields, pictures, and graphs that are tied directly to the data retrieved by the object.





Copyright © 2004. Sybase Inc. All rights reserved. How to use DataWindow objects

View this book as PDF