adodb - absolutepage

Поиск
Список
Период
Сортировка
От Bjørn Ivar Katla
Тема adodb - absolutepage
Дата
Msg-id DDA46FDB-FFCD-499F-987F-5A98E85CB865@bitmaker.no
обсуждение исходный текст
Ответы Re: adodb - absolutepage  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-odbc
Hi,

I am implementing PostgreSQL as a replacement for a ms sql server  web application and are using pgsqlodbc (8.4.2) on
mywindows 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
doneby 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 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

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: 9.0.01 ODBC driver return values changed for sqlGetTypeInfo
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: adodb - absolutepage