Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dsn less - updateable recordset

Status
Not open for further replies.

nadskram

Programmer
May 21, 2001
41
0
0
US
I am using a dsn-less database and am receiving errors on my web server when trying to update a recordset using a disconnected recordset.

there are two functions i wrote, one to get an updateable rs and one to receive a recordset and update the database.
It works on a dsn databse, but now that i am re-writing the site and want to develop with a dsn-less database and receive the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query

it works here at my house where i initially tested it, but on the web server it doesnt.

code is like the following:

set rsUse = GetUpdateableRS()

with rsUse
.addnew
.fields("whatever").value="Something"
.update
end with

UpdateRS(rsUse)

Where GetUpdateableRS and UpdateRS are functions I wrote

does the dsn-less connection have something to do with this error?
 
Do it manually instead of call it from the function

Regards,
Mathan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top