AcCmdSaveRecord not working

ineloquucius

Registered User.
Local time
Today, 01:40
Joined
Jun 6, 2006
Messages
13
I have docmd.runcommand AcCmdSaveRecord in the "on exit" event of a subform. If I change data, it doesn't save the record, if I don't change data, it complains that saverecord isn't available right now. I can understand the second scenario, but why does it refuse to save the data when I do change it?

If I move this code to some other control's ongotfocus event, it does perform the record save when I click on that control.

Thanks for reading. Any help is greatly appreciated.
 

Users who are viewing this thread

Back
Top Bottom