Me!TabName.Value = 4


You can set up a variable and then use it later.
In form open you might use:
mStartTab= Me!TabName.Value

Then in AfterUpdate:
Me!TabName.Value=mStartTab
--
Joe Fallon
Access MVP



"Con Giacomini" <connellgcomcast.net> wrote in message
news:KLWPa.42523$OZ2.7382rwcrnsc54...
> I have a tab control form with five tabs. The form header has a combo box
> where the user selects a client and the code for the event displays that
> client's data. Can code be added to the AfterUpdate event so that when the
> user selects a different client from the combo box, the form is populated
as
> before but the record stays on whatever tab the user started from?
>
>