From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Bjørn Ivar Katla <katla@bitmaker.no>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: adodb - absolutepage
Date: Thu, 28 Oct 2010 12:57:23 +0900
Message-ID: <4CC8F4A3.9050608@tpf.co.jp> (raw)
In-Reply-To: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no>
References: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no>
(2010/10/28 4:58), Bjørn Ivar Katla wrote:
> Hi,
>
> I am implementing PostgreSQL as a replacement for a ms sql server web application and are using pgsqlodbc (8.4.2) on my windows IIS/.ASP against my 8.4 postgreSQL database on an ubuntu server.
>
> Part of this applications is to enable users to search data and only have 20 records displayed on each page. This is done by use of the .absolutepage property of ADODB.Recordset object. I set pagesize and when I open the recordset - the rs.absolutepage is -1
>
> Here is the parameters I set when opening the recordset.
>
> rs.CursorLocation = adUseClient
> rs.PageSize = 20
> rs.Open sql, sconn,1,3
I see .absolutePage=1 here.
Could you display .CursorType, .LockType or .CursorLocation after
opening the recordset?
regards,
Hiroshi Inoue
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: inoue@tpf.co.jp, katla@bitmaker.no
Subject: Re: adodb - absolutepage
In-Reply-To: <4CC8F4A3.9050608@tpf.co.jp>
References: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no> <4CC8F4A3.9050608@tpf.co.jp>
* 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