Subject: Need quick help please!
Posted By: lbreitenbach Post Date: 1/12/2004 11:32:42 AM
Hey all!
I have a real quick easy one for ya!

My brain is failing me and I have 2 hours to get this fixed. (Leave it to me to get into one of these predicaments!)

The following code is what I have:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord


Something is wrong with the code because it gives me an error reading "The name for the menu, command, or subcommand you entered is invalid."

I have used something like this before to have it update the record, but can't recall exactly what I used.

Any help is appreciated.

Regards,
Laura

The only thing standing between you and your goal is doubt. Quit doubting yourself and you'll be able to accomplish anything!
Reply By: Dataman Reply Date: 1/12/2004 11:51:20 AM
Try this instead...

DoCmd.RunCommand acCmdSaveRecord

HTH,
Mike
Reply By: lbreitenbach Reply Date: 1/12/2004 11:55:25 AM
Worked like a charm!
Thanks a mil!

Regards,
Laura

The only thing standing between you and your goal is doubt. Quit doubting yourself and you'll be able to accomplish anything!

Go to topic 8447

Return to index page 971
Return to index page 970
Return to index page 969
Return to index page 968
Return to index page 967
Return to index page 966
Return to index page 965
Return to index page 964
Return to index page 963
Return to index page 962