pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Chabaud <tc@geosys.com>
To: pgsql-odbc@postgresql.org
Subject: Annoying problem with UseDeclareFetch
Date: Tue, 29 Nov 2005 10:34:15 +0100
Message-ID: <438C2097.80900@geosys.com> (raw)

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 ?

Thanks in advance.

Regards,

Thomas Chabaud



view thread (4+ messages)  latest in thread

Message-ID: <438C2097.80900@geosys.com>
Permalink:  ../438C2097.80900@geosys.com/
Also on:    postgresql.org/message-id/438C2097.80900@geosys.com

 · 

reply

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: tc@geosys.com
  Subject: Re: Annoying problem with UseDeclareFetch
  In-Reply-To: <438C2097.80900@geosys.com>
  References: <438C2097.80900@geosys.com>

* 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