Using the Preview view of a DataWindow object
162 DataWindow .NET
To save the changes to the database, you must apply them, as described below.
❖ To apply changes to the database:
• Click the Update Database button.
DataWindow Designer updates the table with all the changes you have
made.
Modifying data at runtime
Using the PainterBar buttons in the Preview view is equivalent to calling
control functions such as
InsertRow, DeleteRow, and UpdateData or using
Button controls to perform actions at runtime.
Viewing row information
You can display information about the data you have retrieved.
❖ To display the row information:
• Select Rows>Described from the menu bar.
The Describe Rows dialog box displays, showing the number of:
• Rows that have been deleted in the painter but not yet deleted from the
database
• Rows displayed in the Preview view
• Rows that have been filtered
• Rows that have been modified in the painter but not yet modified in
the database
All row counts are zero until you retrieve the data from the database or add a
new row. The count changes when you modify the displayed data or test filter
criteria.