G
Guest
i have a large number of text boxes on a form that i only want to appear visible when certain parameters are met.
currently refering to each box and it's label individually is a very repetetive process:
if cboDoc = "Slip" Then
lbl1.Visible=True
txt1.Visible=True
lbl2.Visible=True
txt2.Visible=True... and so on.
is there a way to refer to the form items other than doing it like this?
currently refering to each box and it's label individually is a very repetetive process:
if cboDoc = "Slip" Then
lbl1.Visible=True
txt1.Visible=True
lbl2.Visible=True
txt2.Visible=True... and so on.
is there a way to refer to the form items other than doing it like this?