fpc/packages/odbc
tom_at_work 7c56a9f34d Revert r22080 because it prevents crosscompilation.
git-svn-id: trunk@22101 -
2012-08-16 21:24:47 +00:00
..
examples + Regenerate all Makefiles's after adding x86_64 netbsd target 2012-04-24 23:15:18 +00:00
src * Patches from Lacak2 changing currency to odbc numeric type, and ftbcd parameters 2012-03-01 10:54:54 +00:00
fpmake.pp * Set for which targets these packages have to be compiled for 2012-01-29 10:41:02 +00:00
Makefile Revert r22080 because it prevents crosscompilation. 2012-08-16 21:24:47 +00:00
Makefile.fpc Revert r22080 because it prevents crosscompilation. 2012-08-16 21:24:47 +00:00
Makefile.fpc.fpcmake * More packages converted to fpmake building 2012-01-10 16:31:07 +00:00
README.txt * added .txt extensions to all README, TODO and COPYING files 2009-02-28 17:34:08 +00:00

Testing raw ODBC access:

For windows:
============

1. Compile testodbc. No options should be needed.

2. In the ODBC manager in the Windows Control Panel, create a new system or
   file DSN called 'FPC' with the 'Microsoft Access (*.mdb)' driver
   (At least MS-Access 97 or higher)

   Do not enter any username or password.
   
   The DSN should point to the testodbc.mdb database file provided with the
   testodbc.pp program.
   
3. Run the program.

For Linux:
==========

1. Change testodbc.pp and set the UserName and Password constants if needed.

2. Compile testodbc. No options should be needed.

3. Create a MySQL database and table with the mkdb script in the mysql
   directory. make sure the password and username as set in step 1 have
   access to this databse.

4. Install a DSN called FPC for the newly created database.
   (I used the unixODBC ODBCConfig program for this)

5. Run the program.

Enjoy !

Michael.