R
rbeach
I have a report which utilizes a subreport for the information. within the
subreport is a textbox named "InTol". If the textbox has "IN", I need to hide
a label named "InTolerance", if the textbox has "Out" I need the label
visible. I know the below code will work to make the label visible or not.
If Me!InTol = "OUT" Then
Me!InTolerance.Visible = True
Else
Me!InTolerance.Visible = False
End If
My question is where do put this code in the subreport so it will be read
for each record in the report
subreport is a textbox named "InTol". If the textbox has "IN", I need to hide
a label named "InTolerance", if the textbox has "Out" I need the label
visible. I know the below code will work to make the label visible or not.
If Me!InTol = "OUT" Then
Me!InTolerance.Visible = True
Else
Me!InTolerance.Visible = False
End If
My question is where do put this code in the subreport so it will be read
for each record in the report