tab control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to make a tab page visible or not based on the value in a record when
scrolling though records in a form using the record navigation buttons on the
form.
 
I want to make a tab page visible or not based on the value in a record

do you mean "based on the value *of a field* in the current record"? and are
you basing the decision on a single value only, such as "if value = "this",
then tab page.visible = true, otherwise tab page.visible = false"? if so,
try adding the following code to the form's Current event procedure, as

Me!TabPageName.Visible = (Me!ControlName = "this")

hth
 
Back
Top