I have a field SS of the text data type that contains numbers and plus signs, ex. 208+ . I need to perform calculations on the number, so used the Access expression
SSNum: Val ([SS]) in a query.
This works fine and returns just the number without the +. However, there are some SS fields that are null, and the query results show #Error in the SSNum field in those cases. I have tried putting Nz before the whole expression, inside the Val expression, and any other way I can think of with no luck; either it throws an error when I try to run the query, or the query runs but the SSNum field next to null SS values still reads #Error.
How can I deal with null values so that the VAL function doesn't return an error?
SSNum: Val ([SS]) in a query.
This works fine and returns just the number without the +. However, there are some SS fields that are null, and the query results show #Error in the SSNum field in those cases. I have tried putting Nz before the whole expression, inside the Val expression, and any other way I can think of with no luck; either it throws an error when I try to run the query, or the query runs but the SSNum field next to null SS values still reads #Error.
How can I deal with null values so that the VAL function doesn't return an error?