Having problem extracting records from a dBASE file using DAO C++ connecting to Access 2000, but FoxPro is ok.
I can load a dBASE file, retrieve field names,lengths ect.. then when I come to extract the field contents, it only extracts garbage i.e '??????y'.
The COleVariant data type is a VT_BSTR, and this code works fine when working with FoxPro files, I have installed v3.6 of DAO but still have the same problem. I have loaded the dBASE directly into access and no problems, so the problem is down to the connection.
Can anybody shed any light on this problem, as I have not got anymore ideas how to solve this.
I am a beginner in VC++. I want to make a program to read data from a text file and write to a databse(Oracle).
The data is stored in such a way that each record is seperated by coma (,) as delimiter.
I have developed a logging tool to log device names and device alarms in a database sothat we can be able to search and prepare reports..
I created and index for the first of the table and set it as the current index. When i tired to search a particular pattern that I know does not exist in that field in database but seek function return non-zero- finds this pattern ???-. I used CDaorecordset::seek function for this purpose.
Did you have any sample code involving seek function..
What points I have to check