Re: adodb - absolutepage

Поиск
Список
Период
Сортировка
От Bjørn Ivar Katla
Тема Re: adodb - absolutepage
Дата
Msg-id 81C821E7-0FA2-41DB-A850-D03703F26405@bitmaker.no
обсуждение исходный текст
Ответ на Re: adodb - absolutepage  (Hiroshi Inoue <inoue@tpf.co.jp>)
Ответы Re: adodb - absolutepage  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-odbc
Here are the results.  Pagecount are correct ( pagesize set to 20, records: 28)

rs.absolutepage : -1
rs.pagecount: 2
rs.cursortype: 3
rs.locktype: 3
rs.cusorlocation: 2

regards
Bjørn Ivar Katla

>
> (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)
onmy 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
isdone by use of the .absolutepage property of ADODB.Recordset object.   I set pagesize and when I open the recordset -
thers.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
>


В списке pgsql-odbc по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: adodb - absolutepage
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: adodb - absolutepage