troubleshooting Question

call button click event of sub sub form from main form

LISA GEORGE asked on
Microsoft AccessVBA
8 Comments1 Solution61 ViewsLast Modified:
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
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros