From: gunawan <gunawan@ikp.component.astra.co.id>
To: tc@geosys.com
To: pgsql-odbc@postgresql.org
Subject: Re: Annoying problem with UseDeclareFetch
Date: Tue, 29 Nov 2005 17:15:53 +0700
Message-ID: <006601c5f4cd$e15feb80$6702a8c0@subfinance> (raw)
References: <438C2097.80900@geosys.com>
----- Original Message -----
From: "Thomas Chabaud" <tc@geosys.com>
To: <pgsql-odbc@postgresql.org>
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
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: gunawan@ikp.component.astra.co.id, tc@geosys.com
Subject: Re: Annoying problem with UseDeclareFetch
In-Reply-To: <006601c5f4cd$e15feb80$6702a8c0@subfinance>
References: <438C2097.80900@geosys.com> <006601c5f4cd$e15feb80$6702a8c0@subfinance>
* 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