X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 15BF99DCAD4 for ; Tue, 29 Nov 2005 05:34:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11486-04 for ; Tue, 29 Nov 2005 05:34:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from geosys.fr (mail.geosys.com [195.115.79.21]) by postgresql.org (Postfix) with ESMTP id 08C039DCA9F for ; Tue, 29 Nov 2005 05:34:19 -0400 (AST) Received: from [192.168.1.60] tc@geosys.fr [192.168.1.60] by geosys.fr with NetMail SMTP Agent $Revision: 3.16 $ on Microsoft Windows; Tue, 29 Nov 2005 10:37:52 +0100 Message-ID: <438C2097.80900@geosys.com> Date: Tue, 29 Nov 2005 10:34:15 +0100 From: Thomas Chabaud Reply-To: tc@geosys.com Organization: Geosys User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Annoying problem with UseDeclareFetch Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/233 X-Sequence-Number: 6469 I'm using VB 6.0 with postgreSQL v8.0 and ODBC Driver v8.1.1. I have set the driver's option UseDeclareFetch to true in order to avoid recordset paging problem, but with this option enabled, rs.RecordCount is always equal to -1. Is it normal ? Is there a way to solve this, because my application makes a lot of calls to rs.recordcount ? Another driver option ? Driver version ? Thanks in advance. Regards, Thomas Chabaud