Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Building a DataWindow object – PB Docs 70 – PowerBuilder Library

Building a DataWindow object – PB Docs 70

Building a DataWindow object

You use the DataWindow painter to work with DataWindow objects.

Connecting to a database

To use the DataWindow painter, you must be connected to the database
whose data you will be accessing.

When you open the DataWindow painter, PowerBuilder connects you to the DBMS
and database you used last. If you need to connect to a different database,
do so before working with a DataWindow object.

For information about changing your database
connection, see Connecting to Your Database.

Modifying an existing DataWindow object

proc.gif To modify an existing DataWindow object:

  1. Select File>Open from the menu
    bar.

    The Open dialog displays

  2. Select the object type and the library.

    PowerBuilder lists the DataWindow objects in the current library.

  3. Select the object you want.

    PowerBuilder opens the DataWindow painter and displays the DataWindow object.

    To learn how you can modify an existing DataWindow object,
    see Chapter 15, “Enhancing DataWindow Objects “.

Creating a new DataWindow object

proc.gif To create a new DataWindow object:

  1. Select File>New from the menu
    bar.

    The New dialog box displays.

  2. Select the DataWindow tab.

    defin15.gif

  3. Choose a presentation style–how you want
    the data to be arranged–for the DataWindow object.

    See “Choosing a presentation
    style “
    .

    When you choose the presentation style, the appropriate DataWindow object wizard
    starts up.

  4. Choose a data source for the DataWindow object.

  5. If you want to immediately preview (run) the basic DataWindow object after
    defining the presentation style and data source, select the Retrieve
    on Preview checkbox.

  6. Define the data source.

    See “Defining the data source “.

  7. Choose options for the DataWindow object and click Next.

    See “Choosing DataWindow object-wide
    options “
    .

  8. Review your specifications and click Finish

    The DataWindow object displays in the Design view. Although you can now save
    it to use in a window, you may want to enhance it first.

  9. (Optional) Enhance your DataWindow object.

    You can customize the display of column data and add controls
    such as text, bitmaps, computed fields, and graphs.

  10. Save the DataWindow object in a library.


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