Got a tricky problem. When i change a record on one subform (thats on one page of a tab control) i want to got to a field in another subform that's on a different page of the tab control...
I've tried this code to activate the new control:
but i get a runtime error message (2115). the event has been added to the beforeupdate event in the field being updated. frm_Thinksmart is my main form, Tbl_Comments subform is the subform and Tabctl36 is the tabcontrol.
i've also tried just the set focus line but this appears to do nothing..
Can anybody help?
thanks
I've tried this code to activate the new control:
Code:
Forms![frm_thinksmart]!TabCtl36.Value = 1
Forms![frm_thinksmart]![Tbl_Comments subform].Form![CommentText].SetFocus
i've also tried just the set focus line but this appears to do nothing..
Can anybody help?
thanks