Problems with a tab control

  • Thread starter Thread starter Sabram
  • Start date Start date
S

Sabram

Hi
I have a problem with a tab control on a form. What I am trying to acheive
is that when a combo box on page 1 has the text "Data Protection" then two
text boxes on page 3, which are set to not visible in the properties boxes,
become visible. The attempt shown below does nothing!


Private Sub Cbo_RequestType_Exit(Cancel As Integer)

If Me.cbo_RequestType = "Data Protection" Then
Forms!frm_request.Page3.DP_IdentificationRqst.Visible = True
Forms!frm_request.Page3.DP_IdentificationProduced.Visible = True
End If

End Sub

Help anyone?

Thanks

Steve
 
Sabram said:
Hi
I have a problem with a tab control on a form. What I am trying to acheive
is that when a combo box on page 1 has the text "Data Protection" then two
text boxes on page 3, which are set to not visible in the properties boxes,
become visible. The attempt shown below does nothing!


Private Sub Cbo_RequestType_Exit(Cancel As Integer)

If Me.cbo_RequestType = "Data Protection" Then
Forms!frm_request.Page3.DP_IdentificationRqst.Visible = True
Forms!frm_request.Page3.DP_IdentificationProduced.Visible = True
End If

End Sub

Are you sure the value of the Combo is what you think it is? Does it have
multiple columns where the displayed value is not the same as the bound
value?
 
Back
Top