ODBC text setup

From RadiWiki
Revision as of 13:25, 25 November 2010 by Joro (talk | contribs)
Jump to navigation Jump to search

The ODBC text setup dialog is used to configure the ODBC driver for a text based database.

ODBC text setup.png

In this window we need to set several items:

ScreenElementDescription.svg Data Source Name This just a name for the setup you are making, name this Radimation, or another descriptive name for the used database
ScreenElementDescription.svg Select Directory... Allows to select the directory in which the text based database files are stored
ScreenElementDescription.svg Use Current Directory Overrules the selected directory to use the current directory. It is best to turn this checkbox off, and select a specific directory by using the Select Directory... button
ScreenElementDescription.svg Extensions List Shows a list of filename extensions which will be used to determine the correct text files. Remove *.asc and *.tab from the extentions list
ScreenElementDescription.svg Define Format... Will show the Define Text Format dialog, which can be used to define the format of the database as it is maintained in the text file

Define Text format one column.png

Select the file you want to use, check the Column Name Header checkbox and select the format. Press Guess button to see if the column headers from your database are set correctly. In the screenshot above the columns are not set correctly. The .csv file format is different, to solve this press the Format combobox and select Custom Delimited. Insert ';' in the delimiter textbox and press Guess again.

Define Text format three columns.png

Now everything is set correctly, close all windows by pressing the Ok button on every window. Once the ODBC Data Source connection is correctly configured, the configuration of the [[customer database