I have a tab control with 2 forms called My_data client subform and My_data new client subform
I want the subforms to refresh when I move between the tabs. In previous posts I have seen the following code to work behind the change tab event:
Me.SUBFORMNANME.Requery
So I tried this:
Me.My_data client subform.Requery
but it doesnt like the spaces in my form name. I cant bear to change that as it is referenced all over the place. So I troed this:
Me.[My_data client subform].Requery
but I get invalid refernce to parent property error
I even tried "" but of course that doesnt work either
Any advise appreciated, I hope I dont have to change all the subform names
I want the subforms to refresh when I move between the tabs. In previous posts I have seen the following code to work behind the change tab event:
Me.SUBFORMNANME.Requery
So I tried this:
Me.My_data client subform.Requery
but it doesnt like the spaces in my form name. I cant bear to change that as it is referenced all over the place. So I troed this:
Me.[My_data client subform].Requery
but I get invalid refernce to parent property error
I even tried "" but of course that doesnt work either
Any advise appreciated, I hope I dont have to change all the subform names