Configuring ODBC to access the database Visual FoxPro, FoxPro, (*.dbf, *.dbc)
Start programthe Data Source Administrator.
In section User DSN or System DSN click Addbutton.
In the appeared window choose driver Microsoft FoxPro VFP Driver and click the button Finish.
In the appeared window in the field Data Source Name it is necessary to enter a name of a data source (for example, ExampleFoxPro). In Database type section (type of a database) choose Free Table directory if you use files dbf or Visual FoxPro Database if you use database Visual FoxPro. In Path window enter the path to the catalog where files dbf are located or the path to database Visual FoxPro.
Click Ok. Once again Ok.
In the program, in section the DataSource select the data source you created (ExampleFoxPro).
If for access to a database it is required to enter a name and password, enter them in the appropriate fields.