Selecting a database profile – PB Docs 2018

Selecting a database profile

You can select a database profile from the Database Profiles
dialog box.

To connect to a database using the Database Profiles dialog
box:

  1. Click the Database Profile button in the PowerBar or select
    Tools>Database Profile from the menu bar.

    Database Profile button

    If your PowerBar does not include the Database Profile
    button, use the customize feature to add the button to the
    PowerBar. Having the Database Profile button on your PowerBar is
    useful if you frequently switch connections between different
    databases. For instructions on customizing toolbars, see the Users
    Guide.

    The Database Profiles dialog box displays, listing your
    installed database interfaces.

    Where the interface list comes from

    When you run the Setup program, it updates the Vendors list
    in the registry with the interfaces you install. The Database
    Profiles dialog box displays the same interfaces that appear in
    the Vendors list.

  2. Click the plus sign (+) to the left of the interface you are
    using or double-click the name.

    The list expands to display the database profiles defined for
    your interface.

  3. Select the name of the database profile you want to access and
    click Connect or display the pop-up menu for a database profile and
    select Connect.

PowerBuilder connects to the specified database and returns you to
the painter workspace.

Database painter Objects
view

You can select a database profile from the Database painter
Objects view.

To connect to a database using the Database painter:

  1. Click the Database painter button in the PowerBar.

    The Database painter displays. The Objects view lists your
    installed database interfaces.

    Where the interface list comes from

    When you run the Setup program, it updates the Vendors list
    in the registry with the interfaces you install. The Database
    painter Objects view displays the same interfaces that appear in
    the Vendors list.

  2. Click the plus sign (+) to the left of the interface you are
    using or double-click the name.

    The list expands to display the database profiles defined for
    your interface.

  3. Select the name of the database profile you want to access and
    click the Connect button, or display the pop-up menu for a database
    profile and select Connect.


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