From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Cc: | Oliver Stegle <olli2(at)fr(dot)infra(dot)net> |
Subject: | using ODBC-Driver of POSTGRES in relation to CRecordsets |
Date: | 1998-05-21 01:59:24 |
Message-ID: | Pine.BSF.3.96.980520225846.18610I-100000@thelab.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Hello!
I've got a real problem, if I try to use any CRecordset to access any Table
in a Database of POSTGRES SQL-Server.
First the description of my little test-program:
I used the Class-Wizard of VC 5.0 to generate a new class which base-class
is a Crecordset
I selected the correct ODBC-Database from the menu and then the table, I
wanted to access within my program.
But if I try to open the recordset, I always get Unhandled Exceptions.
I found out, that the ODBC-Driver of postgres seems not to support
Snapshots.(there were DEBUG-Asserts, caused by missing functions in the
ODBC-Driver)
So I tried to use Dynaset.
But that doesn't work, too.
(Exception, whe the Open-Method checks the Cursor-Type.)
Please help me, what to do, that I can acces any Table via the ODBC-Driver
and an CRecordset
(Is there any Sample-Code available???)
Thankyou in Advance!
Oliver
From | Date | Subject | |
---|---|---|---|
Next Message | Byron Nikolaidis | 1998-05-21 13:31:23 | Re: [INTERFACES] using ODBC-Driver of POSTGRES in relation to CRecordsets |
Previous Message | zorll | 1998-05-20 18:03:16 | Problem building the JDBC driver |