Tab Control Locking

  • Thread starter Thread starter Shawn via AccessMonster.com
  • Start date Start date
S

Shawn via AccessMonster.com

I have a from that has a tab control on it. The first two tabs are questions
the users must answer. The third tab is the score they receive. I don't want
anyone to be able to go back and change answers once they have clicked on the
third tab and have seen there score.

Is there a way to lock tabs once another has been clicked?
Thanks,
Shawn
 
Shawn said:
I have a from that has a tab control on it. The first two tabs are
questions the users must answer. The third tab is the score they
receive. I don't want anyone to be able to go back and change answers
once they have clicked on the third tab and have seen there score.

Is there a way to lock tabs once another has been clicked?
Thanks,
Shawn

In the change event of the TabControl...

If Me.TabControlName.Value = 2 Then
'User has selected third page
Me.TabControl.Pages(0).Visible = False
Me.TabControl.Pages(1).Visible = False
End If
 
Perfect! Thanks!

Rick said:
I have a from that has a tab control on it. The first two tabs are
questions the users must answer. The third tab is the score they
[quoted text clipped - 4 lines]
Thanks,
Shawn

In the change event of the TabControl...

If Me.TabControlName.Value = 2 Then
'User has selected third page
Me.TabControl.Pages(0).Visible = False
Me.TabControl.Pages(1).Visible = False
End If
 
Back
Top