hey guys, i'm trying to save a record on a form even before the entire for is filled out. As soon as the primary key is filled out i want it to automatically save the record.
i'm running the code to save on the afterupdate event
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 'saves record
But i keep getting Runtime error '2501'
The domenuitem action was canceled.
it wasn't a problem before but it is now. i know its probably not liking some other code i have. ne ideas? thanks
i'm running the code to save on the afterupdate event
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 'saves record
But i keep getting Runtime error '2501'
The domenuitem action was canceled.
it wasn't a problem before but it is now. i know its probably not liking some other code i have. ne ideas? thanks