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 D9B9B329E5D for ; Tue, 21 Sep 2004 11:05:29 +0100 (BST) 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 42810-09 for ; Tue, 21 Sep 2004 10:05:26 +0000 (GMT) Received: from brazzaville.magic.fr (brazzaville.magic.fr [62.210.190.9]) by svr1.postgresql.org (Postfix) with ESMTP id AAF29329E43 for ; Tue, 21 Sep 2004 11:05:26 +0100 (BST) Received: from lrp43008 (ppp-52.net-555.magic.fr [62.210.255.52]) by brazzaville.magic.fr (8.11.6/8.11.6) with SMTP id i8LA5Pb02505 for ; Tue, 21 Sep 2004 12:05:25 +0200 Message-ID: <006301c49fc2$88a62c40$0a00a8c0@lrp43008> Reply-To: "Luc ROLLAND" From: "Luc ROLLAND" To: "ODBC PostgreSQL" References: <6C0CF58A187DA5479245E0830AF84F42142B95@poweredge.attiksystem.ch> Subject: Re: OIDS column required with ODBC ? Date: Tue, 21 Sep 2004 12:05:32 +0200 Organization: Etablissements ROLLAND MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/53 X-Sequence-Number: 4428 I use the Open Method from ADO in MS Visual-Basic 6.0 ... Is there anybody who can explain to me why I can't open tables without OIDS ? Thanks. Luc ----- Original Message ----- From: "Philippe Lang" To: "Luc ROLLAND" ; "ODBC PostgreSQL" Sent: Tuesday, September 21, 2004 11:57 AM Subject: Re: [ODBC] OIDS column required with ODBC ? Hello, No, you don't need to use OIDs with the ODBC driver. I alway create tables WITHOUT OIDS, and I can access them through ODBC with MS Access without any problem. But I'm sorry I cannot tell you the reason of your error message... Hope it will help you anyway. Philippe ________________________________ De : pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] De la part de Luc ROLLAND Envoyé : mardi, 21. septembre 2004 11:48 À : ODBC PostgreSQL Objet : [ODBC] OIDS column required with ODBC ? Hello ! I want to open a recordset using ODBC (07_03_0200) in MS-VB6 (SP6) on a PG table (7.4.3) created WITHOUT OIDS. I receive an error message : 'Colum ?id? doesn't exist !' when I use the method Open ? The same code works if the table has an OID column. Would pgsqlODBC require an OIDS column on all the tables ? I don't find setting for that in the ODBC driver... Luc ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org