I am working on creating some calculated fields
The data for the "test2" field is imported from Access consists of numbers or "Null" in text.
I also have fields "test1" and "minimum" and "maximum" where all the three parameters are numbers.
I would like to create a calculated field with an if statement.
I would like to do the following:
- If "test2" is not "Null" and "test2" < "minimum" then calculate "minimum" - "test2". (I was using the syntax IIF and != for not equal, but it did not like it because "Null" is a string value)
- else if "test2" is not "Null" and "test1" < "minimum" then calculate "minimum" - "test1"
How should I create this calculated field? Please advise.