jjjjjjjjjjj
jjjjjjjjjjj

Reputation: 447

Call subform macro from main form in Access 2013

I have a macro on the SubForm I'd like to call from the MainForm. I found this reference but I can't get it working. I've tried

Call Form("MainForm").Subform_Macro

and

Call Form!MainForm!Subform_Macro

Any ideas?

Upvotes: 0

Views: 449

Answers (1)

MoondogsMaDawg
MoondogsMaDawg

Reputation: 1714

Forms!MainForm!SubForm.Form.Subform_Macro Should do the trick. Link

Upvotes: 1

Related Questions