Data view in the DataWindow painter
Description
Specify data to be stored with the DataWindow object. Adding
or deleting data here does not change the data in the database.
It only determines what data will be stored with the DataWindow
object when you save it. When you save the DataWindow object, the
data in the view is stored with it.
The most common reason to store data in a DataWindow object is
for use as a dropdown DataWindow where the data is not coming from
a database. For example, you might want to display a list of state
postal codes for entering values in a State column in a DataWindow
object. You can store those codes in a DataWindow object and use
the DropDownDataWindow edit style for the State column.
Using the view
Adding rows
Click the Insert Row button in the PainterBar to create an empty
row and type a row of data. You can enter as many rows as you want.
Retrieving rows
Click the Retrieve button in the PainterBar to retrieve all the
rows of data from the database. If you want, you can delete rows
you do not want to save or manually add new rows.
Deleting rows
Click the Delete button in the PainterBar to delete unwanted rows.
Sharing data with the Preview view
To see changes you make in the Data view reflected in the
Preview view, select ShareData from the pop-up menu in the Data
view.
Saving the DataWindow object without data
To save the DataWindow object without data, select Delete
All Rows from the pop-up menu in the Data view before saving.