Using the Preview view of a DataWindow object

You use the Preview view of a DataWindow object to view it as it will appear with data and test the processing that takes place in it.

StepsTo display the Preview view of a DataWindow object open in the DataWindow painter:

  1. If the Preview view is not already displayed, select View>DataWindow Painter Layout>Preview from the menu bar.

    In the Preview view, the bars that indicate the bands do not display, and, if you selected Retrieve on Preview in the DataWindow wizard, DataWindow Designer retrieves all the rows from the database. You are prompted to supply arguments if you defined retrieval arguments.

    NoteIn external DataWindow objects If the DataWindow object uses the External data source, no data is retrieved. You can import data, as described in “Importing data into a DataWindow object”.

    NoteIn DataWindow objects that have stored data If the DataWindow object has stored data in it, no data is retrieved from the database.

    As the rows are being retrieved, the Retrieve button in the toolbar changes to a Cancel button. You can click the Cancel button to stop the retrieval.

  2. Test your DataWindow object.

    For example, modify some data, update the database, re-retrieve rows, and so on, as described below.