Problems with VB and ADO

Поиск
Список
Период
Сортировка
От Alessandro Giacometti
Тема Problems with VB and ADO
Дата
Msg-id CJEPKIEAKAHEGFPAMACNKECGCBAA.ando@libero.it
обсуждение исходный текст
Список pgsql-odbc
i had some problems with the example about VB and ADO i found on
odbc.postresql.org :

i have a line like this :

rs.Open "SELECT id, data FROM vbtest", cn, adOpenDynamic

ok, my table is different, but the problem is that the recordset i obtain is
read only
unless i use the "adLockOptimistic" clause (which is not present in the
example)

another problem ( still not solved):

if i use rs.RecordCount i always obtain "-1" even if i use rs.MoveLast and
rs.MoveFirst.

My machine is a Win98
my server is Mandrake 8.1

thanx a lot

bye






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

Предыдущее
От: Benoit Menendez
Дата:
Сообщение: Re: Problem with ODBC driver and MSP 2002
Следующее
От: Dave Page
Дата:
Сообщение: Re: Problems with VB and ADO