


Although the AcuODBC Configuration property sheet contains eight tabs, you can fully define a data source with the information you provide on the General tab. The other tabs contain additional optional information or instructions to the AcuODBC interface.
Enter information about the data source as indicated below.
Data Source Name
Enter a name that represents the type of data in this group of data files or the type of query that will be made against these files. Since this name will be used every time a user opens this data source, select a name that is meaningful to users of this data source. (For example, "ACME Payroll" might be used for payroll files for the ACME Corporation.)
The name of the data source must be less than or equal to 63 characters in length. Follow the Windows file-naming conventions when using special characters in data source names. The name you choose must be unique.
Enter the full pathname of the directory containing the data dictionary (".xfd") files that must be accessed. Each Vision or relative file requires a corresponding ".xfd", and all the ".xfd" files must be in one directory. See section 6.2, "XFD Files" for more information on these files.
To specify a remote directory, use the following syntax:
@server-name:directory-path
where server-name is the name of the UNIX or NT server on which the directory containing the data dictionaries resides.
If you specify a remote directory, you must add a sequential ASCII file called "xfdrmt.dir" (lowercase) to that remote directory. This file must list the names of the ".xfd" files that have to be accessed by this DSN. These XFD filenames must match the actual names of the ".xfd" files exactly, including the case on UNIX systems. The XFD files included in the "xfdrmt.dir" file must reside in the same directory as the "xfdrmt.dir" file itself.
Here is an example of an "xfdrmt.dir" file when accessing remote files using AcuServer. Note the lowercase file extensions:
ACCOUNTS.xfd CLIENTS.xfd CODES.xfd PATIENTS.xfd
If you are using AcuODBC Server on a remote UNIX server, the "xfdrmt.dir" file would look like this:
accounts.xfd clients.xfd codes.xfd patients.xfd
This field specifies the directories AcuODBC searches for data files. It is equivalent to the FILE_PREFIX configuration variable. By default, this is the same directory specified for ".xfd" dictionaries when initially defining the data source name. If your data files reside in a different directory than the ".xfd" files, change the value of Data Directory to specify the correct location. If your data files reside in several locations, specify those locations in this field.
Leaving this field blank results in AcuODBC assigning the path of the XFD directory to this field. (You will see the value in this field the next time you open the property sheet.)
Populate the field as follows:
1. Enter the name of a directory you want to include in the search path. You can type a path or use the Browse button to locate the directory. Note that if you select the directory using the Browse button, you must click OK. Double-clicking the name of the directory does not insert the name in the entry box. The path appears in the entry box of the Data Directory field.
2. Click Add. The path to the directory now appears in the lower box in the Data Directory field.
3. Repeat these steps for each directory you want to add to the search path. The paths appear in the box in the order in which you enter them.
Data File Extension
In this field, specify the file extension used for your data files (for example, ".dat"). When AcuODBC looks for a file, it looks only at files with the extension listed in this box. If you leave this box blank, AcuODBC looks for data files with no extension in the XFD directory or Data Directory indicated. This field is equivalent to the FILE_SUFFIX configuration variable.
More: