Re: USING MFC CRecordset for accessing POSTGRES via ODBC
Re: USING MFC CRecordset for accessing POSTGRES via ODBC
От:
Byron Nikolaidis <byronn@insightdist.com>
Дата:
Oliver Stegle wrote: > Hello Byron! > > I've got a small question. > > Is it possible to access the PostgresQL-Server's ODBC-Interface with a MFC > CRecordset??? > If I do so, I always get Exceptions caused by ODBC-Behaviorchecks in the > MFC-Classes around the Recordset. > (I used a dynaset) > > Or will I have to use the ODBC C-Lolevel Interface? > I really dont know anything about the MFC CRecordSet. But, if it is just some behavior checks stopping it, I would like to know what they are. I imagine MFC is doing "info" related tests like, does the driver support positioned update, and what kind of cursor action on result sets, etc. If you could do an odbc trace on it, then send me the sql.log file, I could look at it and let you know. If there isn't something obvious in the log, then maybe you could send me a simple test program that uses this CRecordSet. Byron