Connect to Default Profile – PB Docs 126

Connect to Default Profile database preference

Description

Connect to Default Profile controls whether the Database painter
establishes a connection to a database using a default profile when
the painter is invoked. If not selected, the Database painter opens
without establishing a connection to a database.

Controls

All database interfaces

Context

In an application

You cannot set the Connect to Default
Profile database preference in code.

In the development environment

In the Database painter, select or clear the Connect to Default
Profile check box in the Database Preferences dialog box as follows:

  • Select
    the check box

    (Default) The next time you invoke the Database painter, it
    automatically connects to the default database profile.

  • Clear the check box

    The next time you invoke the Database painter, it does not automatically
    connect to the default database profile.

Default

The Connect to Default Profile check box in the Database Preferences
dialog box is selected by default.

Usage

Connect to Default Profile allows you to open the Database
painter without establishing a connection to
a database. Consequently, you can perform all database-related tasks,
including defining a database profile and connecting to a database,
in the Database painter. However, you might want to continue to define
profiles and/or connect to a database using the Database
Profile since opening the Database painter uses more system resources.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x