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 editor:

  1. If the Preview view is not already displayed, select View>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, Sybase WorkSpace 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.

    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 progress of the retrieval is indicated in the status bar, alongside a stop icon (indicated with a red square). Click the stop icon to stop the retrieval process.

  2. Test your DataWindow object.

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