Something like:
If Field1 = 1 Then
Field2.visible = True
Else If Field1 = 2 Then
Field 3.visible = True
End If
I don't use 'else's very often, so I think that syntax is correct. See the
help file if not or post back and I will test it out.
Rick B
Rick,
What would be the code for this similar scenario. Let's say I have 3
fields and the visibility of BOTH Field2 and Field3 depend on the value
of Field1.
For example, I would want Field2 and Field3 to be invisible to begin
with. If Field1 = 1, then I want Field2 to be visible. If Field1 = 2,
then I want Field3 to be visible.
Hope that wasn't too confusing. Thanks,
Darrell