If the contents showed a difference, you would get a different error message than the one you actually got. This one is (keep in mind we are guessing because you kept the code itself a secret) more like you subset the data with:
where statecode="20"
when statecode is actually a numeric variable. So you will have to show the program if you want real help.
... View more