When database connections occur

Connections in DataWindow Designer

In the development environment, the setting of the Automatically Connect to Database system option controls whether DataWindow Designer connects to the database when you open a painter requiring a connection (the default) or automatically when you start DataWindow Designer.

StepsTo set the Automatically Connect to Database option in DataWindow Designer:

  1. Select Tools>System Options from the menu bar.

    The System Options dialog box displays.

    The sample shows the General tab page of the System Options dialog box. At top is an Initialization Path box with the sample entry j :  picasso build  b l d 5003. Next is a selected check box for Prompt on Exit and an unselected check box for Automatically Connect to Database. Next is a box labeled Recent objects list contains, with an entry of 0 items and a 36 -item limit. Next is a box labeled Recent libraries list contains and an entry of 8 with a limit of 36 items. Last is a box labeled Recent corrections list contains and an entry of 4 with a limit of 10 items.
  2. On the General tab page, select or clear the Automatically Connect to Database check box as follows:

    Select the check box The next time you start DataWindow Designer, it automatically connects to the database at startup and stays connected throughout the session until you exit.

    Clear the check box (Default) The next time you start DataWindow Designer, it connects to the database only when you open one of the following painters requiring a connection: Database, Report, or Query. It does not connect to the database automatically at startup.

  3. Click OK or Apply.

    DataWindow Designer saves your AutoConnect setting in the registry.

How DataWindow Designer determines which database to access

DataWindow Designer connects to the database you used last when you open a painter that accesses the database. DataWindow Designer 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 DataWindow Designer development environment.