A
an
Hi!
I have a form with five comboboxes and correspondent five textboxes.
Each textbox, for default, show us "*" when form open.
After click in each combo, the correspondent texbox change to equal combo
data choosed.
I would like to show one command button, only after all five text boxes
changed to different of the "*".
In On Current procedure I have:
'Start code------
Private Sub Form_Current()
If txt1 <> "*" And _
txt2 <> "*" And _
txt3 <> "*" And _
txt4 <> "*" And _
txt5 <> "*" Then
cmdXPTO.Visible = True
Else
If txt1 = "*" Or _
txt2 = "*" Or _
txt3 = "*" Or _
txt4 = "*" Or _
txt5 = "*" Then
cmdXPTO.Visible = False
End If
End If
End Sub
'End code------
Don't work and don´t show us any error.
I would like your help for this, please.
Thanks in advance.
an
I have a form with five comboboxes and correspondent five textboxes.
Each textbox, for default, show us "*" when form open.
After click in each combo, the correspondent texbox change to equal combo
data choosed.
I would like to show one command button, only after all five text boxes
changed to different of the "*".
In On Current procedure I have:
'Start code------
Private Sub Form_Current()
If txt1 <> "*" And _
txt2 <> "*" And _
txt3 <> "*" And _
txt4 <> "*" And _
txt5 <> "*" Then
cmdXPTO.Visible = True
Else
If txt1 = "*" Or _
txt2 = "*" Or _
txt3 = "*" Or _
txt4 = "*" Or _
txt5 = "*" Then
cmdXPTO.Visible = False
End If
End If
End Sub
'End code------
Don't work and don´t show us any error.
I would like your help for this, please.
Thanks in advance.
an