Re: ODBC question - Mailing list pgsql-interfaces

From Carolyn Lu Wong
Subject Re: ODBC question
Date
Msg-id 395AADA0.43573323@greatpacific.com.au
Whole thread Raw
In response to ODBC question  (Carolyn Lu Wong <carolyn@greatpacific.com.au>)
List pgsql-interfaces
I'm using DAO, not RDO, create record sets as follows:

Set WS = DBEngine.CreateWorkspace("MainWS", "user", vbNullString,
dbUseODBC)
Set CN = WS.OpenConnection("", dbDriverNoPrompt, False, strConnect)
Set RS = CN.OpenRecordset(strSQL, dbOpenDynaset, dbExecDirect,
dbOptimistic)

where WS, CN and RS are defined as workspace, connection and recordset.


"Kardos, Dr. Andreas" wrote:
> 
> Set the CurserDriver Property of the Connection Object to rdUseOdbc.
> 
> Andreas Kardos
> 
> -----Ursprüngliche Nachricht-----
> Von: Carolyn Lu Wong <carolyn@greatpacific.com.au>
> An: <pgsql-interfaces@postgresql.org>
> Gesendet: Mittwoch, 28. Juni 2000 14:40
> Betreff: [INTERFACES] ODBC question
> 
> > hi
> >
> > I'm writing client application with VB5 which connects to PostgreSQL via
> > PsqlODBC.
> >
> > When I select a set of data with RecordSet from VB, I can't seem to
> > update the record set and has the following error message:
> >
> > S1C00: Onlye SQL_POSITION/REFRESH is supported for SQLSetPos.
> >
> > Any idea?
> >


pgsql-interfaces by date:

Previous
From: "Christopher R. Jones"
Date:
Subject: Perl modules for Perl on NT
Next
From: "Joe Shevland"
Date:
Subject: RE: still confuse; no suitable driver