Link to home
Start Free TrialLog in
Avatar of Gregory_seifert
Gregory_seifert

asked on

C++ - how to use ODBC text driver ?

I want to use the ODBC text driver from out VC++ 5. Where can I find any documentation about this or how to do it ? I have full knowledge of the use of other ODBC drivers so my problem is related only to the textdriver !
Avatar of tommyq
tommyq

Gregory,
So you want to write code that accesses a text table from VC 5?
Avatar of Gregory_seifert

ASKER

It will be clear that my question doesn't mean I don't know how to access text files fromout Visual C++.

The problem is I want to use the Cristal Reports tools fromout visual C++ to generate reports from text files. Normally generating full printable documents in Visual C++ is a time consuming task. However if I know how to use the ODBC textdriver I can pass through this task towards Cristal reports. I already know you have to use the ODBC administrator (or directly and updating the registry) to create a params.INI file. However I don't succeed to access files through the CRecordSet class. When calling CRecordSet::Open I receive a messagebox with "error in FROM clause"
ASKER CERTIFIED SOLUTION
Avatar of msa092298
msa092298

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial