Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to exclude two values in a field when they are selected together. The below works when selected individually but not when selected together. Is there a way to do this? Any help would be appreciated.
Individually works:
GetFieldSelections([Job Category Desc])<>'Executive' AND GetFieldSelections([Job Category Desc])<>'Senior Management'
Failed Attempts to include when both selected:
GetFieldSelections([Job Category Desc])<>('Senior Management' AND 'Executive')
GetFieldSelections([Job Category Desc])<>('Senior Management' OR 'Executive')
GetFieldSelections([Job Category Desc])<>(Senior Management|Executive)
May be this
SubStringCount('|' & GetFieldSelections([Job Category Desc], '|,|') & '|', '|Executive|') = 0 and
SubStringCount('|' & GetFieldSelections([Job Category Desc], '|,|') & '|', '|Senior Management|') = 0
May be this
SubStringCount('|' & GetFieldSelections([Job Category Desc], '|,|') & '|', '|Executive|') = 0 and
SubStringCount('|' & GetFieldSelections([Job Category Desc], '|,|') & '|', '|Senior Management|') = 0
That worked perfectly Sunny! Thanks a lot!