Setting up shared database profiles

You set up shared database profiles in the Database Preferences dialog box.

StepsTo set up shared database profiles:

  1. In the Database painter, select Design>Options from the menu bar to display the Database Preferences dialog box.

  2. In the Shared Database Profiles box on the General tab page, specify the location of the file containing the database profiles you want to share. Do this in either of the following ways:

    • Type the location (path name) in the Shared Database Profiles box.

    • Click the Browse button to navigate to the file location and display it in the Shared Database Profiles box.

    In the following example, c:\work\share.ini is the location of the file containing the database profiles to be shared:

    The sample shows the General tab page of the Database Preferences dialog box. At top is an Applicaiton area with a box labeled Shared Database Profiles. Selected is the profile I : backslash Share backslash P B dot I N. Next are Painter Options with selected check boxes for Connect to Default Profile, Keep Connection Open, and Use Extended Attributes. A check box for Read Only is cleared. A field labeled Columns in Table Display shows the entry 8, sequel Terminator Character displays a semicolon, and Refresh Table List is set to 1800 Seconds. At bottom is a default button.
  3. Click OK.

    PowerBuilder applies the Shared Database Profiles setting to the current connection and all future connections and saves the setting in the registry.