From: me@alternize.com
To: Hélder M. Vieira <hmv@mail.telepac.pt>
To: pgsql-odbc@postgresql.org
Subject: Re: 8.1.1.0, VB6, RDO, rdoResultset.RowCount
Date: Thu, 10 Nov 2005 02:16:22 +0100
Message-ID: <0d5901c5e594$5eb44480$0201a8c0@iwing> (raw)
References: <000a01c5e593$0651bb20$580bfea9@hmv02>
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" <hmv@mail.telepac.pt>
To: <pgsql-odbc@postgresql.org>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: me@alternize.com, hmv@mail.telepac.pt
Subject: Re: 8.1.1.0, VB6, RDO, rdoResultset.RowCount
In-Reply-To: <0d5901c5e594$5eb44480$0201a8c0@iwing>
References: <000a01c5e593$0651bb20$580bfea9@hmv02> <0d5901c5e594$5eb44480$0201a8c0@iwing>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox