The data source you choose determines how you select the data that will be used in the DataWindow object.
About the term data source The term data source used here refers to how you use the DataWindow painter to specify the data to retrieve into the DataWindow object.
If the data for the DataWindow object will be retrieved from a database, choose one of the types of data source listed in Table 17-1.
Select the External data source if:
The DataWindow object will be populated programmatically
Data will be imported from a DDE application
Data will be imported from an external file, such as a tab-separated text file (TXT file) or a dBASE file (DBF file)
PocketBuilder
After you choose a data source in the various DataWindow wizards, you specify the data. The data source you choose determines what displays in the wizards and how you define the data.
Even when the data does not come from the database, there are many times when you want to take advantage of the intelligence of a DataWindow object:
Data Validation You have full access to validation rules for data.
Display Formats You can use any existing display formats to present the data, or create your own.
Edit Styles You can use any existing edit styles, such as radio buttons and edit masks, to present the data, or create your own.
Copyright © 2004. Sybase Inc. All rights reserved. |