I have a navigation Menu with tabs (named). I have a button, to clear the forms. I want to switch to first tab when clear button is clicked. (like two functions).. Clear and Switch same time... Any expert, please give me an example... Thanks
I have a navigation Menu with tabs (named). I have a button, to clear the forms. I want to switch to first tab when clear button is clicked. (like two functions).. Clear and Switch same time... Any expert, please give me an example... Thanks
Forms![Navigation form].NavigationControl0.Tabs(0).SetFocus
Usually a navigation form ends up with exactly that name. If there's only one navigation subform control on the form, I believe its index is 0. The tabs collection is also zero based.
Last edited by Micron; 03-10-2019 at 10:48 PM. Reason: correction
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.