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
Open in new window
But if the subform and sub-subform are dependent on cbo_OrderID, then it could be that you have no records in the sub-sub form, so you might want to also check to see whether there are any records in that form before attempting to perform the cmd_Rate_Click event.