D
Dave
I have a single table, no relationship defined and code that has
worked for two years:
DoCmd.OpenQuery "qryFlushRawTemp" Now I'm getting "3086: Cannot
delete from specified table". Although I have modified the db, I have
not changed the portion that updates the records. Thinking it might be
due to those few times that the table could be empty, I changed it to:
sql = "DELETE tmpRawData.* FROM tmpRawData;"
DoCmd.RunSQL sql
No difference. If I run the query manually from the db window, it
deletes all the records as wanted. Here's a real strange one: when it
last failed while testing, I clicked the Run button in the VBE where
code execution stopped, and it ran anyway, deleting the records!
This is Access 2002 SP3 Windows xp Pro
I sure would appreciate some insight or suggestions, but please note
that I said there is no defined relationship on that table, it did
work before, works by running the query, and seems to respond to the
run button in the VBE!
worked for two years:
DoCmd.OpenQuery "qryFlushRawTemp" Now I'm getting "3086: Cannot
delete from specified table". Although I have modified the db, I have
not changed the portion that updates the records. Thinking it might be
due to those few times that the table could be empty, I changed it to:
sql = "DELETE tmpRawData.* FROM tmpRawData;"
DoCmd.RunSQL sql
No difference. If I run the query manually from the db window, it
deletes all the records as wanted. Here's a real strange one: when it
last failed while testing, I clicked the Run button in the VBE where
code execution stopped, and it ran anyway, deleting the records!
This is Access 2002 SP3 Windows xp Pro
I sure would appreciate some insight or suggestions, but please note
that I said there is no defined relationship on that table, it did
work before, works by running the query, and seems to respond to the
run button in the VBE!