Raise commandButton event from subForm
Scope:I have 2 forms; frmMain and frmSub. The later is a subform withing frmMain.
frmMain has a button; cmdButton1 and a subform; frmSub
frmSub has a button; cmdButton2.
Problem:
When I press Button2, I want also to raise the event procedure for button1; cmdButton1_Click.
Tryouts so far:
It appears that I may not do this with the RaiseEvent.
I also tried with a Call statement but I couldn't make it work.
What should I put in Sub cmdButton2_Click to trigger cmdButton1_Click ?
