Hello!
I have a problem with sorting. I want to sort a recordset by part of the contents of a field.
The field has ARB and then a numeric value:
ARB1
ARB2
ARB3
etc
I want to order the records by the numeric value. I have tried something like:
"SELECT * FROM myTable ORDER BY MID(MyField,4,Len(MyField -3))", but without any luck....
Anyone know a good approach to this?
Thanks
noccy
I have a problem with sorting. I want to sort a recordset by part of the contents of a field.
The field has ARB and then a numeric value:
ARB1
ARB2
ARB3
etc
I want to order the records by the numeric value. I have tried something like:
"SELECT * FROM myTable ORDER BY MID(MyField,4,Len(MyField -3))", but without any luck....
Anyone know a good approach to this?
Thanks
noccy