Search Postgresql Archives

Problem adding a record with vb6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have visual basic 6 with sp6 and I'm trying to add data to PG table, but it gives a error msg like this:

Current recordset doesn't support updating. This may be a limitation of the provider or  of the selected locktype.

and I don't know what can it be, this is the code that I use:


strSql = "Provider=PostgreSQL; User ID=postgres; Password=mykey; data source=mypc; location=mybd;"
conex.Open strSql

strSql = "select * from prueba limit 1"
rsTabla.Open strSql, conex, adOpenKeyset

rsTabla.AddNew
rsTabla!ced = 1
rsTabla!nombre = "prueba"
rsTabla.Update


just when arrive to add method explode

some advice???

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux