|
Sybase's PowerBuilder 6.5
Creating the DB Profile
- When PowerBuilder opens click DB Profile on the toolbar.
<Toolbar 1>
- The Database Profiles dialog box will open, click ODBC in the subdirectory,
then click New.
<Database Profiles 1>
- Select the Connection tab, type MSDB under Profile Name, select MSCARD under
Data Source then uncheck User ID and Password. Click OK.
<Connection>
- Click MSDB under the subdirectory, then click Connect.
<Database Profiles 2>
NOTE: (April 7, 1999)
At this time you must exit and restart PowerBuilder before using the new profile. Please review
the release notes of subsequent releases for a change in this requirement.
Setting the Database Preference
- Click Database on the Toolbar.
<Toolbar 2>
- Click Cancel when the Select Tables dialog box appears.
<Select Tables 1>
- Click Design on the menu bar, then click Options.
<Menu 1>
- The Database Preferences dialog box will then appear. Under General Tab uncheck Use
Powersoft Repository, then click OK.
<Database Preferences>
Creating the new DataWindow
- Click DataWindow on the Toolbar.
<Toolbar 3>
- The Select DataWindow dialog box will then appear, click New.
<Select DataWindow>
- Select SQL under Data Source, then select Tabular under Presentation Style. Click OK.
<New DataWindow>
- The Select Tables dialog box will appear. Select MSCARD CUSTOMER, then click Open.
<Select Tables 2>
- Select Data Source (SQL) on the Toolbar, then select needed fields under MSCARD CUSTOMER Type.
<DataWindow 1>
- Deselect Data Source (SQL) on the Toolbar, then select Preview on the Toolbar.
<DataWindow 2>
- Preview will then display.
<DataWindow 3>
Creating a new project
To create a new project, press the Project button on the toolbar and follow the prompts.
<Toolbar 4>
|