X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 036E9D7E67 for ; Wed, 9 Nov 2005 21:06:55 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60474-06 for ; Thu, 10 Nov 2005 01:06:50 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sapo.pt (relay4.ptmail.sapo.pt [212.55.154.24]) by svr1.postgresql.org (Postfix) with SMTP id 5F9DED77CC for ; Wed, 9 Nov 2005 21:06:52 -0400 (AST) Received: (qmail 28657 invoked from network); 10 Nov 2005 01:06:55 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.153) by relay4 with SMTP; 10 Nov 2005 01:06:55 -0000 Received: (qmail 11532 invoked from network); 10 Nov 2005 01:06:54 -0000 X-AntiVirus: PTMail-AV 0.3.87.1 X-Virus-Status: Clean (0.00378 seconds) Received: from unknown (HELO hmv02) (hmv@[82.155.153.93]) (envelope-sender ) by mta3 (qmail-ldap-1.03) with SMTP for ; 10 Nov 2005 01:06:54 -0000 Message-ID: <000a01c5e593$0651bb20$580bfea9@hmv02> From: =?iso-8859-1?Q?H=E9lder_M._Vieira?= To: Subject: 8.1.1.0, VB6, RDO, rdoResultset.RowCount Date: Thu, 10 Nov 2005 01:06:46 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.53 required=5 tests=[AWL=-0.389, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44] X-Spam-Score: 1.53 X-Spam-Level: * X-Archive-Number: 200511/103 X-Sequence-Number: 6340 Hi. I noticed a difference in behaviour in 8.1.1.0, related with the RowCount property in RDO resultsets in VB6. In version 7xxx, for some specific purposes, I used to open a resultset and immediatly check RowCount. For non-empty resultsets, at this point in time RowCount would be innacurate but NOT EQUAL to 0, and based on this first evaluation I would proceed to the next step, either assuming an empty set or forcing a move to the last row to obtain a precise RowCount. In version 8.1.1.0, RowCount always seems to be EQUAL to 0, unless I force a move to the last row. At this point, my problem is that I don't know which is the right behaviour... Should I assume that in this and later versions of the driver RowCount will always be EQUAL to 0 before visiting the last row ? Thanks in advance. Helder M. Vieira