SaveRecord isn't working in Access 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello I recently upgraded an Access 97 application to Access 2003.

When I run the following line

DoCmd.DoMenuItem acFormBar, acFile, acSaveRecord

I know get the error The command action SaveRecord isn't available now.

Anyone know why this is?

Thanks
 
Could be that DoMenuItem isn't supported anymore. Instead try:

DoCmd.RunCommand acCmdSaveRecord
 
It turned out for this user she only had read-only rights to the screen ( ie
..AllowAdditions property set to false). When you press the button to view
the details for the main screen, the Save command was run. It appears that
Access 2003 detects this and tells you that it can't save while Access 97
never did.

Thanks for the suggestion though.

Don
 
Back
Top