Event to Make Tabs Visible/Invisible

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.
 
L

LarryP

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top