true or false on tabbed pages visibility

  • Thread starter Thread starter Squibbly2
  • Start date Start date
S

Squibbly2

i got tabbed pages on my form


and the coding for this goes like this
If xxxx = False Then
Me!Page2.Visible = False
Else
Me!Page2.Visible = True

xxxx is a yes/no control as you may aswell know, the problem is when this is
true or false then the whole form either goes from visible or non-visible
regardless what record is shown. how do i do this for specific records or
can't i do that?
 
You would need to put this event in the ON CURRENT event so that it fires as
you move from one record to another.
 
ooh i get ya thanks does the job but not as i expected, i expected it to
show up as soon as i clicked it not when i move to a new or previous record
 
Squibbly2 said:
ooh i get ya thanks does the job but not as i expected, i expected it to
show up as soon as i clicked it not when i move to a new or previous
record

You need the code in both places, the current event of the form and the
AfterUpdate of the control.
 
ok thank you for you advice
cheers

Rick Brandt said:
You need the code in both places, the current event of the form and the
AfterUpdate of the control.
 

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

Back
Top