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