P
Paul
I have a large database where the leading zero(0) of the
zip code was stripped in translation. When I wrote an
update query with the criteria of (len(zipcode) < 5) it is
translated into (len(zipcode) <"5") and the query passes
zip code numbers whose length is 4 and 10. The function
seems to be returning a string rather than a number.
I tried (val(len(zipcode))< 5) and got a type mismatch
error.
Any help would be appreciated.
zip code was stripped in translation. When I wrote an
update query with the criteria of (len(zipcode) < 5) it is
translated into (len(zipcode) <"5") and the query passes
zip code numbers whose length is 4 and 10. The function
seems to be returning a string rather than a number.
I tried (val(len(zipcode))< 5) and got a type mismatch
error.
Any help would be appreciated.