ACSaveRecord

Kenln

Registered User.
Local time
Today, 17:59
Joined
Oct 11, 2006
Messages
551
Is there a way to force the saving of a record in a different form?

I would like to update/save the record of a pop-up form from another open form.
 
set focus to the other form first:
Code:
    Forms!frmPopup.SetFocus
    DoCmd.RunCommand acCmdSaveRecord
 
Can I call this from the Main (non-popup) or do I need to execute it from a seperate VBA module?
 
you can do it from the main form (or anywhere else). you'll probably want to reset the focus back to whatever form you're on.
 

Users who are viewing this thread

Back
Top Bottom