pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bjørn Ivar Katla <katla@bitmaker.no>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: adodb - absolutepage
Date: Wed, 27 Oct 2010 21:58:58 +0200
Message-ID: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no> (raw)

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 am using the OCBD driver right out of the box without any special options.  

Are there options to make this work or is this not implemented in the driver? 

And since I am uncertain about this: Should I use the 9.x driver when the database is  8.4?

Brgds

Bjørn Ivar Katla
Bitmaker as
Fabrikkgaten 3 
5059 Bergen - Norway



view thread (5+ messages)  latest in thread

Message-ID: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no>
Permalink:  ../DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no/
Also on:    postgresql.org/message-id/DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no

 · 

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: katla@bitmaker.no
  Subject: Re: adodb - absolutepage
  In-Reply-To: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no>
  References: <DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no>

* 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