Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 71ACC1337B63 for ; Thu, 28 Oct 2010 00:57:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 85102-08 for ; Thu, 28 Oct 2010 03:57:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id 5F031133616B for ; Thu, 28 Oct 2010 00:57:29 -0300 (ADT) Received: (qmail 15825 invoked by uid 512); 28 Oct 2010 03:57:27 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.252) by sd2.tpf-fw-c.co.jp with SMTP; 28 Oct 2010 03:57:27 -0000 Message-ID: <4CC8F4A3.9050608@tpf.co.jp> Date: Thu, 28 Oct 2010 12:57:23 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Bj=F8rn_Ivar_Katla?= CC: "pgsql-odbc@postgresql.org" Subject: Re: adodb - absolutepage References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=4.557 tagged_above=-10 required=5 tests=BAYES_05=-0.5, DNS_FROM_RFC_BOGUSMX=1.668, RCVD_ILLEGAL_IP=3.399, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: **** X-Archive-Number: 201010/30 X-Sequence-Number: 10475 (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