pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: john m langdon <john_langdon@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: PgSQL ODBC, ADO and output parameters
Date: Tue, 15 Nov 2005 16:58:18 +0000
Message-ID: <BAY102-F9B7D113CBDA431E73B5B7F25D0@phx.gbl> (raw)

Hi

I have tried using the 'OUT' parameters for functions in Version 8.1 with 
Visual Basic 6, ADO and the PGSQL ODBC driver Version 8.01.

I have a function with one OUT parameter declared in my database, and when I 
try and connect to it in VB using this parameter definition I get an error 
in Visual Basic:

Run-time error '-2147467259'

The VB code:

    Set myADOParamter = myADOCommand.CreateParameter("f1", adInteger, 
adParamOutput)



Message-ID: <BAY102-F9B7D113CBDA431E73B5B7F25D0@phx.gbl>
Permalink:  ../BAY102-F9B7D113CBDA431E73B5B7F25D0@phx.gbl/
Also on:    postgresql.org/message-id/BAY102-F9B7D113CBDA431E73B5B7F25D0@phx.gbl

 · 

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: john_langdon@hotmail.com
  Subject: Re: PgSQL ODBC, ADO and output parameters
  In-Reply-To: <BAY102-F9B7D113CBDA431E73B5B7F25D0@phx.gbl>
  References: <BAY102-F9B7D113CBDA431E73B5B7F25D0@phx.gbl>

* 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