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 10FC29DCA9F for ; Tue, 29 Nov 2005 06:13:39 -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 12991-07 for ; Tue, 29 Nov 2005 06:13:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from component.astra.co.id (unknown [219.83.51.116]) by postgresql.org (Postfix) with SMTP id 8EFFB9DCADF for ; Tue, 29 Nov 2005 06:13:07 -0400 (AST) Received: (qmail 30800 invoked from network); 29 Nov 2005 10:11:42 -0000 Received: from unknown (HELO 10.14.1.26) (10.14.1.14) by smtp.component.astra.co.id with SMTP; 29 Nov 2005 10:11:40 -0000 Received: from subfinance ([192.168.2.103]) by ikp.component.astra.co.id ([127.0.0.1]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Tue, 29 Nov 2005 17:31:32 +0700 Message-ID: <006601c5f4cd$e15feb80$6702a8c0@subfinance> Reply-To: "gunawan" From: "gunawan" To: , References: <438C2097.80900@geosys.com> Subject: Re: Annoying problem with UseDeclareFetch Date: Tue, 29 Nov 2005 17:15:53 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MDRemoteIP: 192.168.2.103 X-Return-Path: gunawan@ikp.component.astra.co.id X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.879 required=5 tests=[DNS_FROM_RFC_WHOIS=0.879] X-Spam-Score: 0.879 X-Spam-Level: X-Archive-Number: 200511/234 X-Sequence-Number: 6470 ----- Original Message ----- From: "Thomas Chabaud" To: Sent: Tuesday, November 29, 2005 4:34 PM Subject: [ODBC] Annoying problem with UseDeclareFetch | 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 ? to handle this matter I prefer not to use rs. recorcount, but I use while ... wend so I can get the correct one. another driver maybe ... should you try pgoledb. Hope this can solve your problem ... | | Thanks in advance. | | Regards, | | Thomas Chabaud | | ---------------------------(end of broadcast)--------------------------- | TIP 6: explain analyze is your friend | Salut Andi Gunawan