Well, I learned something...
I have used (in A2000)
[code[Len(Trim([FieldOrControlName]))=0 [/code]
to determine if it is non-null and non-space(s) because just using NZ() was allowing some records to be calculated when they shouldn't be.
Apparently A2010, won't allow just spaces to be entered into a field.
In the query, even using
Code:
CPT2newLT: Len(Trim([CPT2]))=0
where CPT2 is NULL, doesn't result in TRUE, it returns NULL.
Trying
Code:
CPT2newL: Len([CPT2])
when CPT2 is NULL, returns NULL, not 0...
It looks like I have a lot of code to review...
BTW, in testing I found this also works:
Code:
CPT2new: Replace(Replace(Replace(Replace([CPT2] & "","+",""),"/",""),".",""),"*","")