Your probably right. It is a alphanumeric string. ie WA869KJI345. Is there
a way to convert an alphanumeric string to straight numeric?
The Val function returns a value from a string, but stops at the first
non-numeric character. You could just loop through the string - for x=1 to
len(str), use Mid and IsNumeric to just pick out numeric characters, create
a new string out of those, and then convert that, but that wouldn't be the
hard part - that would be explaining just exactly why you wanted to do that.
> Your probably right. It is a alphanumeric string. ie WA869KJI345. Is there
> a way to convert an alphanumeric string to straight numeric?
[quoted text clipped - 17 lines]
> >> rs.MoveLast
> >> lgNum = CLng(rs!Text1) + 1