Using the Preview view of a DataWindow object – PB Docs 2017

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.

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

  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, PowerBuilder retrieves all the rows from the database. You
    are prompted to supply arguments if you defined retrieval
    arguments.

    In 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
    .

    In 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
    toolbarPainterBar 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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x