DoCmd.Save doesn't work

R

Ron

I have written Access 2000 VBA code to cycle through all
open forms, reports, modules, etc. in a database, check
whether they are dirty (using SysCmd), and if so save
them, using lines like:

DoCmd.Save acForm, Forms(i).Name

I then log form name and modification date/time in a
table. All this is because the "last modified" date in
Access 2000 is inaccessible and I need it for another
process.

The problem is that the .Save operation is generating a
runtime error(#29068) every time that
says "<ApplicationName> cannot complete this operation.
You must stop the code and try again."

Any ideas why this doesn't work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top