pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: fabrice <regnier.fabrice@free.fr>
To: pgsql-odbc@postgresql.org
Subject: Re: Stored Procedures
Date: Fri, 25 Apr 2003 15:49:58 -0700 (PDT)
Message-ID: <20030425224958.58564.qmail@web20808.mail.yahoo.com> (raw)
In-Reply-To: <3EA9564A.2090609@free.fr>

--- fabrice <regnier.fabrice@free.fr> wrote:
> Hi:)
> 
> I'm looking for a piece of code that could show me
> how to call a stored 
> procedure with parameters from Access95 (VB).
> 
> It seems nothing exists in the deep www :(
> 

I assume you mean, with parameters known only at
runtime...

You will need to do a passthrough query, and construct
the query on the fly.  (searches through vague
memories ...) Using DAO: create a querydef, set the
"connect" property (look in the help file to get the
construction), set the "sql" property to be your
dynamically constructed query string.  If you are not
returning any records (i.e. doing inserts, updates or
whatever), then set the "returnsrecords" property to
false.

I haven't done this for a while, so my memory is a
little vague, but that should give you an idea.

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com




view thread (9+ messages)  latest in thread

Message-ID: <20030425224958.58564.qmail@web20808.mail.yahoo.com>
Permalink:  ../20030425224958.58564.qmail@web20808.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030425224958.58564.qmail@web20808.mail.yahoo.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: jeff_eckermann@yahoo.com, regnier.fabrice@free.fr
  Subject: Re: Stored Procedures
  In-Reply-To: <20030425224958.58564.qmail@web20808.mail.yahoo.com>
  References: <3EA9564A.2090609@free.fr> <20030425224958.58564.qmail@web20808.mail.yahoo.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