Hi, I am trying to set certain fields NULL depending on what the fieldnames are, from a specific list.
So the non-dynamic version in the multi-field formula tool is:
IF [_CurrentFieldName_] IN ("FieldNameA","FieldNameB","FieldNameC")
THEN NULL()
ELSE [_CurrentField_]
ENDIF
Which works fine.
But I would like to make it dynamic, so I make a new field containing the relevant fieldnames concatenated with quotes and commaseparated:
ConcatVariable = "FieldNameA","FieldNameB","FieldNameC"
But when I then change the syntax in the multi-field formula tool, it doesnt work anymore:
IF [_CurrentFieldName_] IN ([ConcatVariable])
THEN NULL()
ELSE [_CurrentField_]
ENDIF
I have of course Googled and searched, but in vain
Any tips on why this doesnt work, or alternative solutions?