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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update but can't delete Access 97 DB record

Status
Not open for further replies.

puitar

Programmer
Apr 8, 2001
64
AU
Greets,

I get this error....

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
/dcs/fpdb/Delete.asp, line 67

The Access 97 database is not read-only. I can edit and add records successfully through my asp pages, but not delete.
I am accessing the db with a System DSN.

Line 67 reads...
xrs.delete

This shits me.
Help
p
 
For deleting records, try issuing a DELETE command directly through your connection object:

conObj.execute "DELETE FROM someTable WHERE someColumn = someValue"

penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top