Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9C8331337B5C for ; Wed, 27 Oct 2010 16:59:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 95226-06 for ; Wed, 27 Oct 2010 19:59:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from remote.bitmaker.no (26.82-134-23.bkkb.no [82.134.23.26]) by mail.postgresql.org (Postfix) with ESMTP id EA72A1336FA7 for ; Wed, 27 Oct 2010 16:59:48 -0300 (ADT) Received: from BITMAKERSBS2008.bitmaker.local ([fe80::213b:d1a4:f611:6f6f]) by BITMAKERSBS2008.bitmaker.local ([fe80::213b:d1a4:f611:6f6f%10]) with mapi; Wed, 27 Oct 2010 21:58:59 +0200 From: =?iso-8859-1?Q?Bj=F8rn_Ivar_Katla?= To: "pgsql-odbc@postgresql.org" Date: Wed, 27 Oct 2010 21:58:58 +0200 Subject: adodb - absolutepage Thread-Topic: adodb - absolutepage Thread-Index: Act2EWR3Uvb9GO/qSkaDRrxOfV+Ytg== Message-ID: Accept-Language: nb-NO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nb-NO Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.918 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201010/29 X-Sequence-Number: 10474 Hi, I am implementing PostgreSQL as a replacement for a ms sql server web appl= ication and are using pgsqlodbc (8.4.2) on my windows IIS/.ASP against my 8= .4 postgreSQL database on an ubuntu server.=20 Part of this applications is to enable users to search data and only have 2= 0 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 r= ecordset - the rs.absolutepage is -1 Here is the parameters I set when opening the recordset. rs.CursorLocation =3D adUseClient rs.PageSize =3D 20 rs.Open sql, sconn,1,3 I am using the OCBD driver right out of the box without any special options= . =20 Are there options to make this work or is this not implemented in the drive= r?=20 And since I am uncertain about this: Should I use the 9.x driver when the d= atabase is 8.4? Brgds Bj=F8rn Ivar Katla Bitmaker as Fabrikkgaten 3=20 5059 Bergen - Norway