TrishWehrle
5 years agoQrew Cadet
Ampersand messing up formula/form rule
I think having an '&' in my field is messing things up. Help
I have a formula text field 'Department Formula' that works great:
If(Contains([Employee/Contractor - Department],"Inflight Services"),"Inflight",
Contains([Employee/Contractor - Department],"Flight Operations"),"Flight Ops",
Contains([Employee/Contractor - Department],"Ground Operations"),"Ground Ops",
Contains([Employee/Contractor - Department],"Cargo"),"Cargo",
Contains([Employee/Contractor - Department],"Customer Support & Services"),"CS&S",
Contains([Employee/Contractor - Department],"Technical Operations"),"Tech Ops",
Contains([Employee/Contractor - Department],"Network Operations Control"),"NOC","Other")
And a multiple choice field 'Department' with these options:
Inflight
Flight Ops
Ground Ops
Cargo
CS&S
Tech Ops
NOC
Other
And a form rule when employee name is not blank, 'Department' is equal to the value in field 'Department Formula'. It works perfectly for all selections except CS&S. When the Employee is in that department, the 'Department Formula' field displays CS&S as it should. But the 'Department' field is blank.
Is it the & thats messing things up? Is there a way around it?
Thanks!
------------------------------
Trish Wehrle
------------------------------
I have a formula text field 'Department Formula' that works great:
If(Contains([Employee/Contractor - Department],"Inflight Services"),"Inflight",
Contains([Employee/Contractor - Department],"Flight Operations"),"Flight Ops",
Contains([Employee/Contractor - Department],"Ground Operations"),"Ground Ops",
Contains([Employee/Contractor - Department],"Cargo"),"Cargo",
Contains([Employee/Contractor - Department],"Customer Support & Services"),"CS&S",
Contains([Employee/Contractor - Department],"Technical Operations"),"Tech Ops",
Contains([Employee/Contractor - Department],"Network Operations Control"),"NOC","Other")
And a multiple choice field 'Department' with these options:
Inflight
Flight Ops
Ground Ops
Cargo
CS&S
Tech Ops
NOC
Other
And a form rule when employee name is not blank, 'Department' is equal to the value in field 'Department Formula'. It works perfectly for all selections except CS&S. When the Employee is in that department, the 'Department Formula' field displays CS&S as it should. But the 'Department' field is blank.
Is it the & thats messing things up? Is there a way around it?
Thanks!
------------------------------
Trish Wehrle
------------------------------