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 961D1DA44B for ; Wed, 9 Nov 2005 21:16:39 -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 65849-03 for ; Thu, 10 Nov 2005 01:16:36 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.refusion.com (mail.refusion.com [213.144.155.20]) by svr1.postgresql.org (Postfix) with ESMTP id E7F1BDA423 for ; Wed, 9 Nov 2005 21:16:37 -0400 (AST) Received: from iwing by mail.refusion.com (MDaemon.PRO.v8.1.0.R) with ESMTP id md50000360518.msg for ; Thu, 10 Nov 2005 02:15:52 +0100 Message-ID: <0d5901c5e594$5eb44480$0201a8c0@iwing> From: To: =?iso-8859-1?Q?H=E9lder_M._Vieira?= , References: <000a01c5e593$0651bb20$580bfea9@hmv02> Subject: Re: 8.1.1.0, VB6, RDO, rdoResultset.RowCount Date: Thu, 10 Nov 2005 02:16:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.1830 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 X-Authenticated-Sender: info@alternize.com X-Spam-Processed: mail.refusion.com, Thu, 10 Nov 2005 02:15:52 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 80.238.133.93 X-Return-Path: me@alternize.com X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.943 required=5 tests=[AWL=-1.480, DNS_FROM_RFC_DSN=2.872, NO_REAL_NAME=0.55, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 1.943 X-Spam-Level: * X-Archive-Number: 200511/104 X-Sequence-Number: 6341 hi there this was discussed earlier today i think... the recordset has an EOF (end of file) flag. if rs.EOF equals False, then there are rows in the resultset. cheers, thomas ----- Original Message ----- From: "Hélder M. Vieira" To: Sent: Thursday, November 10, 2005 2:06 AM Subject: [ODBC] 8.1.1.0, VB6, RDO, rdoResultset.RowCount > 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 > > > > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings >