Re: Annoying problem with UseDeclareFetch - Mailing list pgsql-odbc

From gunawan
Subject Re: Annoying problem with UseDeclareFetch
Date
Msg-id 006601c5f4cd$e15feb80$6702a8c0@subfinance
Whole thread Raw
In response to Annoying problem with UseDeclareFetch  (Thomas Chabaud <tc@geosys.com>)
List pgsql-odbc
----- 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


pgsql-odbc by date:

Previous
From: Thomas Chabaud
Date:
Subject: Annoying problem with UseDeclareFetch
Next
From: "Andrus"
Date:
Subject: Re: Application crash after error