I have a form that I want to hide one of the fields if certain criteria is not met, how can I do this plz
On my main form I have a field which shows a users "Level" (Number) and when they press the button to open the form I want one of the fields hiding if the level is say < 50
I'm comfortable with the if statement to get the true / false answer but how to then hide the field.
Field visible by default
If answer = true
?? me.[fieldinquestion].visible = false ??
?? me.[fieldinquestion].visible = true ??
Both seem to hide the field, what's wrong
On my main form I have a field which shows a users "Level" (Number) and when they press the button to open the form I want one of the fields hiding if the level is say < 50
I'm comfortable with the if statement to get the true / false answer but how to then hide the field.
Field visible by default
If answer = true
?? me.[fieldinquestion].visible = false ??
?? me.[fieldinquestion].visible = true ??
Both seem to hide the field, what's wrong