pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kardos, Dr. Andreas <kardos@repas-aeg.de>
To: Carolyn Lu Wong <carolyn@greatpacific.com.au>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ODBC question
Date: Thu, 29 Jun 2000 11:11:11 +0200
Message-ID: <01af01bfe1a9$f8ec94c0$99301eac@Dr.repas.de> (raw)
References: <3959F24C.88D772B6@greatpacific.com.au>
	<010701bfe106$1763c0d0$99301eac@Dr.repas.de>
	<395AADA0.43573323@greatpacific.com.au>

With DAO this is the same story, but in the Workspace object:

WS.DefaultCursorDriver = dbUseODBCCursor

-----Ursprüngliche Nachricht-----
Von: Carolyn Lu Wong <carolyn@greatpacific.com.au>
An: Kardos, Dr. Andreas <kardos@repas-aeg.de>;
<pgsql-interfaces@postgresql.org>
Gesendet: Donnerstag, 29. Juni 2000 04:00
Betreff: Re: [INTERFACES] ODBC question


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?
> >





view thread (6+ messages)

Message-ID: <01af01bfe1a9$f8ec94c0$99301eac@Dr.repas.de>
Permalink:  ../01af01bfe1a9$f8ec94c0$99301eac@Dr.repas.de/
Also on:    postgresql.org/message-id/01af01bfe1a9$f8ec94c0$99301eac@Dr.repas.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: kardos@repas-aeg.de, carolyn@greatpacific.com.au
  Subject: Re: ODBC question
  In-Reply-To: <01af01bfe1a9$f8ec94c0$99301eac@Dr.repas.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox