Tab Controll switching

K

Keith

I have a for with a Tab Controll on it. The First tab is the main input and
the second is secondery and not always required.

Both Tabs look the same. How can I make the Tab automaticaly show the first
Tab when the user moves to another record?

I don't want them inputing data on the second tab for a record then moving
to another record and forgetting to switch back to the first tab.
 
K

Keith Wilby

Keith said:
I have a for with a Tab Controll on it. The First tab is the main input and
the second is secondery and not always required.

Both Tabs look the same. How can I make the Tab automaticaly show the
first
Tab when the user moves to another record?

I don't want them inputing data on the second tab for a record then moving
to another record and forgetting to switch back to the first tab.

Just off the top of my head, have you tried using "set focus" on, say,
MyTabControl(0)?

Regards,
Keith.
www.keithwilby.com
 
K

Keith

Since posting the question I have managed to solve the problem. In the On
Current property of the form I set focus to the page name. In this case
me.page33.setfocus

It works a treat. Thanks for taking the time to offer your help. I would
have removed the posting but there dosn't seem to be a way to do it.

Thanks agian.
 
Top