David Emerson
davide at dalyn.co.nz
Sun Jul 27 17:54:51 CDT 2003
I have a form with a tab control which has 3 tabs. The third tab has a subform with a tab control on it and 2 tabs. The second tab of the subform has another subform with a tab control having 4 tabs. On the main form I have a search box. Currently if this is used the focus ends up with the first tab on the main form (it uses this field to search on using DoCmd.FindRecord). My users want to be able to search but end up with the focus on the particular tab they were in before the search. My problem is that I can't find a property that says what is the current tab. I can find the current field but unless I know the tab I can't just set the focus to that field. Any hints? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205