Reputation: 21
I am stuck with a problem.
I have an Access database form with 3 text boxes in a row and I want to show or hide them based on if another field shows a 1
, 2
or 3
or none if 0
.
Currently I have them side by side and it looks a bit rubbish and would like them on.
The 3 fields are text1
, text2
and text3
.
The field it is looking at is completed
.
Can anyone help?
Thanks
Aaron
Upvotes: 0
Views: 34
Reputation: 27634
You can't toggle visiblity with Conditional Formatting.
But you can simply use a single text box, and set its back color with Conditional Formatting:
You can set the text dynamically in the underlying query, with IIf()
or Switch()
Upvotes: 1