M
Morgan Gartland via AccessMonster.com
Hello
I have a report and on this report i have three text boxes (txt1, txt2 &
txtctrl) and two labels (lbl1 & lbl2). When txt1 is >= txtctrl i would like
lbl1 & lbl2 to be visible and txt1 & txt2 to be invisible. the code i have
used is below. Could someone please point out where i am going wrong.
If txt1 >= txtctrl Then
txt1.Visible = False
txt2.Visible = False
lbl1.Visible = True
lbl2.Visible = True
Else
txt1.Visible = True
txt2.Visible = True
lbl1.Visible = False
lbl2.Visible = False
End If
many thanks
I have a report and on this report i have three text boxes (txt1, txt2 &
txtctrl) and two labels (lbl1 & lbl2). When txt1 is >= txtctrl i would like
lbl1 & lbl2 to be visible and txt1 & txt2 to be invisible. the code i have
used is below. Could someone please point out where i am going wrong.
If txt1 >= txtctrl Then
txt1.Visible = False
txt2.Visible = False
lbl1.Visible = True
lbl2.Visible = True
Else
txt1.Visible = True
txt2.Visible = True
lbl1.Visible = False
lbl2.Visible = False
End If
many thanks