J
Julia Boswell
Hi, I wonder if anyone can help, I've tried many varieties of syntax but
none of them work and I just can't get my brain round this one, if it was an
if then else statement in VB I'd be fine! I want to create a field called BU
to display the following on a query:
Iif [BUName] is "Defence" then BU = "GS"
Iif [BUName] is "On Board" or "Service Centre" or "STS" then BU = "RCS"
Iif [BUName] is "eFlight" then BU = "CS"
Iif [BUName] is "ATS" or "BRS" then BU = "Lodgers"
else BU = "Support"
p.s. this isn't how I wrote it in the query, this is just what I want it to
do!
Can someone help?
Thanks
Julia
none of them work and I just can't get my brain round this one, if it was an
if then else statement in VB I'd be fine! I want to create a field called BU
to display the following on a query:
Iif [BUName] is "Defence" then BU = "GS"
Iif [BUName] is "On Board" or "Service Centre" or "STS" then BU = "RCS"
Iif [BUName] is "eFlight" then BU = "CS"
Iif [BUName] is "ATS" or "BRS" then BU = "Lodgers"
else BU = "Support"
p.s. this isn't how I wrote it in the query, this is just what I want it to
do!
Can someone help?
Thanks
Julia