J
jmoore
I have several text boxes in a subreport that have similar IIf statements to
the one below, except this is the only one that has an AND in it. The others
all work fine. This one results in an invalid syntax message. The subreport
is based on a query with both fields included. I tried adding parens around
the AND section, but received the same message. What am I missing???
=IIf([FileNotAvail]=1 AND [F7]=#1/1/7777#,“File Not Availâ€,
IIf[F7]=#1/1/7777#,"Not Avail", IIf[F7]=#1/1/9999#,"Not
App",IIf[F7]=#9/9/9999#,"Missing",[F7]))))
Thanks!
the one below, except this is the only one that has an AND in it. The others
all work fine. This one results in an invalid syntax message. The subreport
is based on a query with both fields included. I tried adding parens around
the AND section, but received the same message. What am I missing???
=IIf([FileNotAvail]=1 AND [F7]=#1/1/7777#,“File Not Availâ€,
IIf[F7]=#1/1/7777#,"Not Avail", IIf[F7]=#1/1/9999#,"Not
App",IIf[F7]=#9/9/9999#,"Missing",[F7]))))
Thanks!