Creating a database profile

To create a new database profile, complete the Database Profile Setup dialog box.

StepsTo create a database profile:

  1. Click the Database Profile button in the PowerBar.

  2. Highlight the database interface you want to use and click New.

    NoteClient software and interface must be installed To display the Database Profile Setup dialog box, you must have the required client software and database interface properly installed and configured.

  3. On the Connection tab page, type a name for the profile and supply values for any other basic parameters your interface requires for connection.

  4. On the other tab pages, supply values for any additional connection options, such as database parameters and SQLCA properties.

    For information about the values you can supply for your connection, click Help in the Database Profile Setup dialog box.

  5. (Optional) Click the Preview tab if you want to see the PowerScript connection syntax that PocketBuilder generates for each selected option.

    You can copy the PowerScript connection syntax from the Preview tab directly into a PocketBuilder application script. For more information, see “Using the Preview tab to connect in a PocketBuilder application”.

  6. Click OK to save your changes and close the Database Profile Setup dialog box. (To save your changes on a particular tab page without closing the dialog box, click Apply.)

    The Database Profiles dialog box displays, with the new profile name highlighted under the appropriate interface. The database profile values are saved in the system registry in the key HKEY_CURRENT_USER\ Software\Sybase\PocketBuilder\2.0\DatabaseProfiles\Pocket PB.