NMiller007
Programmer
I have a string type field that contains text, numbers and NULLs.
I am setting all the Null or strings (like *[a-z]*) to zero and CLnging the others. Then I need to get the max of the new values (or just sort them descending).
Whenever I add the sort or max, I get a "Data Type Mismatch" error. I tried excluding the nulls and values with letters. I've written a function to set those to zero and CLng the numbers. No matter what I've tried, I can't get the results I need.
Any suggestions?
I am setting all the Null or strings (like *[a-z]*) to zero and CLnging the others. Then I need to get the max of the new values (or just sort them descending).
Whenever I add the sort or max, I get a "Data Type Mismatch" error. I tried excluding the nulls and values with letters. I've written a function to set those to zero and CLng the numbers. No matter what I've tried, I can't get the results I need.
Any suggestions?