Expressions in query ranges
When creating expressions with comparisons to strings you might have to surround the string with " " like in the example below.
It's important to use \" to achieve the correct behavior.
Read more about ranges here
queryRange = strFmt('((%1 == \"%2\") || (%3 == \"%4\"))',
fieldStr(ProjTable, Responsible),
queryValue(element.getEPProjWebApp().EPProjUser().emplId()),
fieldStr(ProjTable, ResponsibleFinancial),
queryValue(element.getEPProjWebApp().EPProjUser().emplId()));
It's important to use \" to achieve the correct behavior.
Read more about ranges here
Comments
Post a Comment