Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 47C962E0035 for ; Fri, 23 Nov 2007 20:09:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 69332-08 for ; Fri, 23 Nov 2007 20:08:50 -0400 (AST) Received: from mail.refusion.com (mail.refusion.com [213.144.155.20]) by postgresql.org (Postfix) with ESMTP id 2E7EA2E003A for ; Fri, 23 Nov 2007 20:08:55 -0400 (AST) Received: from [192.168.2.10] by mail.refusion.com (Cipher TLSv1:RC4-MD5:128) (MDaemon PRO v9.5.4) with ESMTP id md50002633984.msg for ; Sat, 24 Nov 2007 01:09:02 +0100 Message-ID: <47476B92.9030102@alternize.com> Date: Sat, 24 Nov 2007 01:08:50 +0100 From: "Thomas H." User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Finn Lassen CC: Richard Broersma Jr , pgsql-odbc@postgresql.org Subject: Re: Need help with Visual Basic 6 and PostgreSQL References: <745909.50104.qm@web31801.mail.mud.yahoo.com> <47476539.1080602@AxiomInt.com> In-Reply-To: <47476539.1080602@AxiomInt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: info@alternize.com X-Spam-Processed: mail.refusion.com, Sat, 24 Nov 2007 01:09:02 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 77.56.93.225 X-Return-Path: me@alternize.com X-Envelope-From: me@alternize.com X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-ClamAV: Pass X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/33 X-Sequence-Number: 9248 > In other words, does registering an ODBC driver automatically make it > subject to any configurations made with ODBC Data Source Administrator? as i understand it: partly. i.e. the connection pooling configuration options you specify in the ODBC Data Source Administrator is a global setting. > I still don't understand the: > "ERROR: Column "oid" does not exist;" > I get when executing the " rsOut.Open ..." statement below. > Can the ODBC driver only handle tables with oid columns? no. i have no problems accessing a DB with and without oids using this connection string: Driver={PostgreSQL UNICODE};Server=yourserver;Port=5432;Database=yourdb;UID=youruser;pwd=yourpassword;TrueIsMinus1=1;BoolsAsChar=0;TextAsLongVarchar=1;UseDeclareFetch=0 > rsOut.Open """Contact1""", dbOut, adOpenDynamic, > adLockOptimistic, adCmdTable try this: rsOut.Open "SELECT * FROM ""Contact1""", dbOut, adOpenDynamic, adLockOptimistic the problem might be the adCmdTable recordset type. regards, thomas