I need to run a button on a parent form on an after update event on the subform.
Using access 2003
I need to run a button on a parent form on an after update event on the subform.
Using access 2003
Make sure it's public, then
Call Forms!FormName.ButtonName_Click
No luck, i am not sure if i am doing something wrong, this is what i have
MainForm1, has 2 Subforms: SubformA and SubformB (both in datasheet view)
Subform A a coloum whos field is set to a general number field. if i update info in said field, after i exit from that field to either the next column or next entry for same field then i want to execute a button on mainform1 which will refresh the data in subformB (also a datasheet subform).
I do not get any error messages with the code provided, its just that nothing even happens. If i click the button myself then the data updates. this is rather cumbersome as i don't think all users will catch on to the fact they must click the button (ID-10-T users).
Try without the Call. I just tested this successfully:
Forms!frmEmployee.cmdOrderReport_Click
If it's still not working, can you post the db?
Came right, it was callig the function fine, but the function did not work correctly.