Automatically Connect to DB
\The Sandbox \PB History & Future \New In PB6 \Database Connectivity \Automatically Connect to DB
UI for
DB Profiles
INFORMIX 7.x
DB Interface
Oracle 7.3
DB Interface
Oracle 8.0
DB Interface
INTERSOLV DB2
ODBC Driver
Sybase Open
Client 11.1
Sybase 10 & 11
Dist App Interface
Release DBParm
Sybase OC
11.1 Security
Sybase OC
11.1 Directory
Accessing MS
SQL Server 6.5
ODBC 3.0
Sybase
DirectConnect
CommitOn-
Disconnect
DateTimeAllowed
DBParm
DBGatewayUDT
DBParm
FormatArgsAsExp
DBParm
HostReqOwner
DBParm
LowerCaseIdent
DBParm
ModifySyntax
DBParm
PWDialog
DBParm
TableCriteria
DBParm
ThreadSafe
DBParm
TrimSpaces
DBParm
TRS DBParm
AutoCommit in
Net-Gateway
PBCatalogOwner
in Oracle
Increased
DBParm Strings
PRINT Stmts
in Stored Procs
Nondefault DB
Trace Log File
Automatically
Connect to DB

Description

InfoMaker provides a new option named Automatically Connect to Database on the General tab in the System Options dialog box. When you are working in the InfoMaker development environment, Automatically Connect to Database controls whether InfoMaker connects to the database when you open a painter requiring a connection (the default) or automatically when you start InfoMaker.

The setting of Automatically Connect to Database applies only in the InfoMaker development environment. It has no effect in InfoMaker applications at execution time or in PowerBuilder. (Automatically Connect to Database is not available in the System Options dialog box in PowerBuilder.)

Purpose

Clear the Automatically Connect to Database checkbox (default setting) if you want InfoMaker to connect to the database only when you open one of the following painters requiring a connection: Database, Report, Form, Query, Table, or Data Pipeline. Using this setting can save you money if you are accessing a database that charges for connect time.

Select the Automatically Connect to Database checkbox if you want InfoMaker to connect to the database at startup and stay connected throughout the session until you exit. This is the same behavior as in previous versions of InfoMaker.

Usage

You can set the Automatically Connect to Database option in the System Options dialog box in InfoMaker.

  • To set the Automatically Connect to Database option in InfoMaker:
  1. Select File > PowerPanel and then select System Options.
  2. or

    Click the System Options button on the PowerPanel dropdown toolbar (in the PowerBar).

    The System Options dialog box displays.

  3. On the General tabbed page, select or clear the Automatically Connect to Database checkbox as follows:
  4. Select the checkbox  The next time you start InfoMaker, it automatically connects to the database at startup and stays connected throughout the session until you exit.

    Clear the checkbox  (Default) The next time you start InfoMaker, it connects to the database only when you open one of the following painters requiring a connection: Database, Report, Form, Query, Table, or Data Pipeline. It does not connect to the database automatically at startup.

  5. Click OK or Apply.
  6. InfoMaker saves your AutoConnect setting in the [PB] section of the InfoMaker initialization file.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com