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 7184B9DC814 for ; Sun, 18 Dec 2005 15:49:01 -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 56846-04 for ; Sun, 18 Dec 2005 15:49:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 758619DC806 for ; Sun, 18 Dec 2005 15:48:53 -0400 (AST) Received: (from luf@localhost) by smtp.pzkagis.cz (8.11.6/8.11.6) id jBIJmos09052; Sun, 18 Dec 2005 20:48:50 +0100 Date: Sun, 18 Dec 2005 20:48:50 +0100 From: Ludek Finstrle To: Dave Page Cc: pgsql-odbc@postgresql.org Subject: Re: VB6 and RowCount fix Message-ID: <20051218194850.GA9020@soptik.pzkagis.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.023 required=5 tests=[AWL=0.023] X-Spam-Score: 0.023 X-Spam-Level: X-Archive-Number: 200512/228 X-Sequence-Number: 6707 > > I disagree. I try your example even againist MS SQL and it still returns > > -1. The test suite for VB6 RowCount you sent me doesn't work at all. > > The test app works perfectly well - look at the source code; all it does I took a look at t source code. But I don't know VB. > is report the value from ADODB.Recordset.RowCount. What is not clear, > is whether that ever worked for any data provider. I always use the > "while not rs.EOF..." approach when I wrote VB code in the past. I think the question is how VB get RowCount value. It seems to me that VB counts it internaly from fetched rows. I close this chapter now if noone proof the opposite. Regards, Luf