X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8D80FD1B298 for ; Mon, 19 Jul 2004 23:56:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27590-04 for ; Tue, 20 Jul 2004 02:56:25 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id 30C2DD1B25F for ; Mon, 19 Jul 2004 23:56:19 -0300 (ADT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bmknn-0003j6-00 for ; Tue, 20 Jul 2004 04:56:23 +0200 Received: from 24-151-240-198.chartertn.net ([24.151.240.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jul 2004 04:56:23 +0200 Received: from dbase4 by 24-151-240-198.chartertn.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jul 2004 04:56:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-odbc@postgresql.org From: "David P. Lurie" Subject: Re: error with access 2003 - column "ctid" does not exist Date: Mon, 19 Jul 2004 22:57:26 -0400 Lines: 33 Message-ID: References: <20040719135214.30472.qmail@web20805.mail.yahoo.com> X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 24-151-240-198.chartertn.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/104 X-Sequence-Number: 4237 "Jeff Eckermann" 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