I have a column called source_title and I'm trying to run a simple IF statement on it to give a new value to empty fields. So the logic is, if the field is empty or "(blank)" then replace that field with "Unknown". My code is below:
if IsEmpty([Source_Title]) or [Source_Title] = "(blank)" then [Source_Title] = "Unknown" else [Source_Title] endif
The code outputs a 0 instead of "Unknown" for all of the empty fields, does anyone know why? The format of the field is V_String.