Hello, I have what seems like it should be a fairly simple question, but am having problems for whatever reason. In an Access form, I have two list boxes, [Status] and [PendTo]. In the [Status] box, I have the options "Open", "Pending", and "Closed"; with "PersonA" and "PersonB" in [PendTo]. What I would like to know is how to make it where the [PendTo] list box is only visible if the [Status] is set to "Pending". What I have is something like this in the BeforeUpdate field of the PendTo list box ('StatusLB' is the name of the [Status] list box itself):
=IIf("StatusLB= 'Pending'","Me! Visible=True"," Me!Visible=Fals e")
But alas, it doesn't work. Am I making a simple syntax error or is it even possible to do this, or am I just completely off? Please help.
=IIf("StatusLB= 'Pending'","Me! Visible=True"," Me!Visible=Fals e")
But alas, it doesn't work. Am I making a simple syntax error or is it even possible to do this, or am I just completely off? Please help.
Comment