When database connections occur
Connections in
PowerBuilder
PowerBuilder connects to your database when you:
-
Open a painter that accesses the database
-
Compile or save a PowerBuilder script containing embedded
SQL statements (such as a CONNECT statement) -
Execute an application that accesses the database
-
Invoke a DataWindow control function that accesses the
database while executing an application
How PowerBuilder determines which database
to access
PowerBuilder connects to the database you used last when you open
a painter that accesses the database. PowerBuilder determines which
database you used last by reading a setting in the registry.
What’s in this book
This book describes how to connect to your database when you are
working in the PowerBuilder development environment.
For instructions on connecting to a database in a PowerBuilder
application, see the section called “Database connections” in Application Techniques.