Skip site navigation (1) Skip section navigation (2)

using ODBC-Driver of POSTGRES in relation to CRecordsets

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 (view raw or flat)
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







Responses

pgsql-interfaces by date

Next:From: Byron NikolaidisDate: 1998-05-21 13:31:23
Subject: Re: [INTERFACES] using ODBC-Driver of POSTGRES in relation to CRecordsets
Previous:From: zorllDate: 1998-05-20 18:03:16
Subject: Problem building the JDBC driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group