how to sort a column of alphanumeric data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a column in MSAccess that contains alphanumeric characters. I wish to
sort it in a numeric order. How do I do that?
 
I have a column in MSAccess that contains alphanumeric characters. I wish to
sort it in a numeric order. How do I do that?

If you sort by Val([fieldname]) Access will extract the leading
number. If you have data like ABC122, QWEQW315 and X65, it'll be more
work - since these don't start with a number, Val() will return 0 for
all of them.

John W. Vinson[MVP]
 
Back
Top