To create a new database profile, complete the Database Profile Setup dialog box.
To create a database profile:
Click the Database Profile button in the PowerBar.
Highlight the database interface you want to use and click New.
On the Connection tab page, type a name for the profile and supply values for any other basic parameters your interface requires for connection.
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.
(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”.
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.