Accessibility
 
Home > Products > Authorware > Support > Working with Content
Macromedia Authorware Support Center - Working With Content
Setting up data sources in Windows

For Authorware to connect to a database, the database must be available and the path to the database must be defined. The combination of the database and the path to it is known as a data source. You must set up a data source for each ODBC database whose data you want to import, export, or attach from Authorware.

Use the Data Sources dialog box to set up data sources.

You can open the Data Sources dialog box in two ways:

Run the appropriate setup program if you haven't installed any ODBC database drivers yet. (See Installing Microsoft's 16-bit Windows drivers or Installing Microsoft's 32-bit Windows drivers.) The Data Sources dialog box appears when the setup program is finished installing drivers.
Double-click the ODBC item in the Windows Control Panel. (The setup program installs ODBC item.)
The way you define the path to a database depends on the individual database's structure:

Databases, such as Access, that allow multiple tables within a file require the database's file name in the path.
Databases, such as dBase, that consist of one table don't require the database's file name in the path. Specify the path only to the directory that contains the database.
For more information about data sources, see the Read Me file in Goodies\Odbc\Drivers\16bit or Goodies\Odbc\Drivers\32bit or visit Microsoft's web site.

To set up a data source:

1 Open the Windows Control Panel.
2 Double-click the ODBC icon.

The Data Sources dialog box appears.

3 Click Add.

The Add Data Source dialog box appears.

4 Select a driver from the Installed ODBC Drivers list and click OK.

(If the driver you need doesn't appear in the list, you must install the driver. See Installing Microsoft's 16-bit Windows drivers or Installing Microsoft's 32-bit Windows drivers.)

A data source setup dialog box appears.

5 Enter the data source's name in the Data Source name field.

The data source name can be any name that you want.

6 Select the path to the database, then click OK.

Depending on the driver you've selected, the button you need to click to select the path may be labeled Select, Select Database, or Select Directory.

For databases such as dBase that consist of one table in the file, select the directory that contains the database.
For databases such as Access that can contain multiple tables in a file, select the directory that contains the database and then select the database's file name. (With Access, you can also click Create rather than Select to create a new database rather than selecting an existing one.)
7 Click OK to close the data source setup dialog box.
8 Add another data source, or click Close in the Data Sources dialog box.
To Table of Contents Back to previous page