From: David P. Lurie <dbase4@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: error with access 2003 - column "ctid" does not exist
Date: Mon, 19 Jul 2004 22:57:26 -0400
Message-ID: <cdi1kk$p1k$1@sea.gmane.org> (raw)
References: <cdfd3n$qrb$1@sea.gmane.org>
<20040719135214.30472.qmail@web20805.mail.yahoo.com>
"Jeff Eckermann" <jeff_eckermann@yahoo.com> wrote in message
news:20040719135214.30472.qmail@web20805.mail.yahoo.com...
> I am thinking that you could just include "ctid" in
> the select list for your view, and everything would
> work. The only issue would be, in the case of a
> multitable view, which available ctid value you
> choose. I suspect that the choice will not make a
> difference.
>
Neither explicitly including ctid in the select list, or implicitly
excluding ctid by specifying individual columns will work.
I tried using different recordset parameters, and found one that works, at
least with the simple test recordset that I posted:
CursorLocation = adUseClient
- Have to use client-side rather than server-side cursor engine, at
least with current ODBC driver
CursorType = adOpenStatic
- Can only use static cursor if client-side cursor engine specified,
per docs
- adOpenStatic is used with adUseClient, no matter what is specified in
code
Verified this by examining recordset properties in the VB "locals"
window
If this is correct, might be useful to put somewhere in FAQ.
David P. Lurie
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dbase4@hotmail.com
Subject: Re: error with access 2003 - column "ctid" does not exist
In-Reply-To: <cdi1kk$p1k$1@sea.gmane.org>
References: <cdfd3n$qrb$1@sea.gmane.org> <20040719135214.30472.qmail@web20805.mail.yahoo.com> <cdi1kk$p1k$1@sea.gmane.org>
* 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