You can select a database profile from the Database Profiles dialog box.
To connect to a database using the Database Profiles dialog box:
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.
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.
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.
You can select a database profile from the Database painter Objects view.
To connect to a database using the Database painter:
Click the Database painter button in the PowerBar.
The Database painter displays. The Objects view lists your installed database interfaces.
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.
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.