Setting preferences in the Database Preferences dialog box

To set the following connection-related database preferences, complete the Database Preferences dialog box in the InfoMaker Database painter:

NoteOther database preferences The Database Preferences dialog box also lets you set other database preferences that affect the behavior of the Database painter itself. For information about the other preferences you can set in the Database Preferences dialog box, see the Users Guide.

StepsTo set connection-related preferences in the Database Preferences dialog box:

  1. Open the Database painter.

  2. Select Design>Options from the menu bar.

    The Database Preferences dialog box displays. If necessary, click the General tab to display the General property page.

  3. Specify values for one or more of the connection-related database preferences in the following table.

    Table 12-2: Connection-related database preferences

    Preference

    Description

    For details, see

    Shared Database Profiles

    Specifies the pathname of the file containing the database profiles you want to share. You can type the pathname or click Browse to display it.

    “Sharing database profiles”

    Connect to Default Profile at Startup

    Specifies when InfoMaker connects to the database. Select or clear the check box as follows:

    Connect DB at Startup in the online Help

    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.

    Connect to Default Profile in online Help

    Read Only

    Specifies whether InfoMaker should update the extended attribute system tables and any other tables in your database. Select or clear the Read Only check box as follows:

    Read Only in the online Help

    Keep Connection Open

    When you connect to a database in InfoMaker without using a database profile, specifies when InfoMaker closes the connection. Select or clear the Keep Connection Open check box as follows:

    Keep Connection Open in the online Help

    Use Extended Attributes

    Specifies whether InfoMaker should create and use the extended attribute system tables. Select or clear the Use Extended Attributes check box as follows:

    Use Extended Attributes in the online Help

    Columns in Table Display

    Specify the number of table columns to be displayed when InfoMaker displays a table graphically. The default is eight.

    SQL Terminator Character

    Specifies the SQL statement terminator character used in the ISQL view in the Database painter in InfoMaker.

    The default terminator character is a semicolon (;). If you are creating stored procedures and triggers in the ISQL view of the database painter, change the terminator to a character that you do not expect to use in the stored procedure or trigger for your DBMS. A good choice is the backquote (`) character.

    SQL Terminator Character in the online Help

    Refresh Table List

    Specify how frequently you want the table list to be refreshed from the database. The default is 30 minutes.

  4. Do one of the following:

    • Click Apply to apply the preference settings to the current connection without closing the Database Preferences dialog box.

    • Click OK to apply the preference settings to the current connection and close the Database Preferences dialog box.

    InfoMaker saves your preference settings in the database section of IM.INI.