pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas H. <me@alternize.com>
To: Finn Lassen <dcio@AxiomInt.com>
Cc: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Need help with Visual Basic 6 and PostgreSQL
Date: Sat, 24 Nov 2007 01:08:50 +0100
Message-ID: <47476B92.9030102@alternize.com> (raw)
In-Reply-To: <47476539.1080602@AxiomInt.com>
References: <745909.50104.qm@web31801.mail.mud.yahoo.com>
	<47476539.1080602@AxiomInt.com>

> 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




view thread (16+ messages)  latest in thread

Message-ID: <47476B92.9030102@alternize.com>
Permalink:  ../47476B92.9030102@alternize.com/
Also on:    postgresql.org/message-id/47476B92.9030102@alternize.com

 · 

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 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: me@alternize.com, dcio@AxiomInt.com, rabroersma@yahoo.com
  Subject: Re: Need help with Visual Basic 6 and PostgreSQL
  In-Reply-To: <47476B92.9030102@alternize.com>
  References: <745909.50104.qm@web31801.mail.mud.yahoo.com> <47476539.1080602@AxiomInt.com> <47476B92.9030102@alternize.com>

* 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