1) Check if the .mdb file is read only. (right click the file and choose properties, uncheck if READONLY is checked)
2) Check if write permissions on .mdb file is given for the Internet Guest account (IUSR_MACHINE).
NOTE: When using Microsoft Access databases with ADO, it is also necessary to give the Internet Guest account Write permissions on the directory containing the .mdb file. This is because Jet creates an .ldb file to handle database locking. You may also need to give read/write permission on the "Temp" folder because Jet may create temporary files in this directory.
3) Check if you are opening the connection and database with proper mode for updating.
I assume the the database, in the below statement refers to the TableName.
Code:
objRS.Open "the database", strConnect, adOpenStatic, adLockOptimistic, adCmdTable
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection