Code:
If x(21) = True And x(2) = True Then
[B]Forms![Distance Matrix]![t221].Visible = True[/B]
End If
If x(21) = True And x(3) = True Then
[B]Forms![Distance Matrix]![t321].Visible = True[/B]
End If
.
.
.
thanks a bunch guys