Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 2CCF59FB32C for ; Mon, 2 Oct 2006 23:26:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 18702-01 for ; Tue, 3 Oct 2006 02:26:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 6A00B9FB2F4 for ; Mon, 2 Oct 2006 23:26:24 -0300 (ADT) Received: (qmail invoked by alias); 03 Oct 2006 02:26:22 -0000 Received: from i3ED6C55B.versanet.de (EHLO [192.168.0.112]) [62.214.197.91] by mail.gmx.net (mp033) with SMTP; 03 Oct 2006 04:26:22 +0200 X-Authenticated: #14269776 Message-ID: <4521CA5D.5020709@gmx.net> Date: Tue, 03 Oct 2006 04:26:37 +0200 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: brian stapel CC: pgsql-odbc@postgresql.org Subject: Re: ADO, set returning functions, ms acccess References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/2 X-Sequence-Number: 8265 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.