pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas <maps.on@gmx.net>
To: brian stapel <brians_224@hotmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ADO, set returning functions, ms acccess
Date: Tue, 03 Oct 2006 04:26:37 +0200
Message-ID: <4521CA5D.5020709@gmx.net> (raw)
In-Reply-To: <BAY107-W981B1A98A797D6C2F4B0CA11F0@phx.gbl>
References: <BAY107-W981B1A98A797D6C2F4B0CA11F0@phx.gbl>

brian stapel schrieb:
>
> When I try to incorporate this function into my ado application, it 
> doesn't seem to return a recordset. 
> [...]
>  
> rs record count is -1.

I write without any testing or even looking at your stuff.

At least the 8.1.xx ODBC driver didn't support the recordcount of 
returned recordsets.
It showed -1 regardless how many records were produced.

Try to read the recordset anyway and catch EOF to prevent a runtime-error.





view thread (3+ messages)  latest in thread

Message-ID: <4521CA5D.5020709@gmx.net>
Permalink:  ../4521CA5D.5020709@gmx.net/
Also on:    postgresql.org/message-id/4521CA5D.5020709@gmx.net

 · 

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: maps.on@gmx.net, brians_224@hotmail.com
  Subject: Re: ADO, set returning functions, ms acccess
  In-Reply-To: <4521CA5D.5020709@gmx.net>
  References: <BAY107-W981B1A98A797D6C2F4B0CA11F0@phx.gbl> <4521CA5D.5020709@gmx.net>

* 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