Shared Database Profiles

Description

Specifies the path name of the PowerBuilder initialization file containing the database profiles you want to share.

For instructions on sharing database profiles in the PowerBuilder development environment, see “Managing Database Connections” in Connecting to Your Database.

Applies to

Context

In an application

You cannot set the Shared Database Profiles database preference in code.

In the development environment

In the Database painter, supply the path name of the PowerBuilder initialization file containing shared profiles in the Shared Database Profiles box in the Database Preferences dialog box. You can type the path name or click the Browse button to display it.

For instructions, see “Setting Additional Connection Parameters” in Connecting to Your Database.

Default

The Shared Database Profiles box in the Database Preferences dialog box is blank (unspecified) by default.

Examples

Example 1

To share database profiles contained in the file I:\SHARE\PB.INI on the Windows platform, type or browse to the following in the Shared Database Profiles box in the Database Preferences dialog box:

I:\SHARE\PB.INI