Event to Make Tabs Visible/Invisible

  • Thread starter Thread starter LarryP
  • Start date Start date
L

LarryP

I have a form with several tabs, one of which needs to
become visible/invisible depending on the value of a
control in the main form.

I put code in Load, Activate, and After Update that makes
this happen correctly under some circumstances, but one
situation is frustrating me. If the tab is invisible and
the user simply uses the Navigation bar to move to another
record where it should be visible, it doesn't happen. I
tried putting the same code in the GotFocus event of my
first field, and that works too, but only if that field
happens to have or get the focus when the record changes.
What the heck event is associated with a simple move from
one record to the next??? I looked through all the Form
events and couldn't find one that seems to fit the
bill.
 
Just the ticket. Once again, Down Under to the rescue.
Now that it's working, I guess I need to read up on the
Current event and understand why! Thanks again.
 
Back
Top