We help IT Professionals succeed at work.
Get Started

call button click event of sub sub form from main form

LISA GEORGE
LISA GEORGE asked
on
57 Views
Last Modified: 2019-12-16
HI all, i have main form frm_order and sub form frm_ordergroup and sub sub form  frm_ordergroupitem
In my sub sub form i have button called cmd_rate where it has some code for cmd_rate)_click event.
Now when i update main form combo box cbo_orderid then cmd_rate needs to be clicked automatically so that underlying click event gets automatically exeucted. so i am trying to write after update event for cbo_orderid but it's throwing error object doesn't support this propery or method
 i have modified private to public for cmd_rate_click() but still i am getting error
i used Call Forms.frm_ordergroupitem.cmd_rate
Call Me.frm_OrderGroup.Form.frm_OrdergroupItem.Form.cmd_Rate

can someone help me how we can automatically click button which is present in sub sub form from the main form event
thanks in advance
Comment
Watch Question
IT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE