SaveRecord isn't working in Access 2003

D

Don

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
 
J

Jerry Whittle

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

DoCmd.RunCommand acCmdSaveRecord
 
D

Don

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
 

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