O
ORJAN
In an alphanumeric field (Invnr) I have data like "J1", J2" "J100†etc.
Since the result when sorting on this field is somewhat “peculiarâ€
(J1, J100, J2 etc) I would like to separate the numbers from the “Jâ€
and sort on the number (can be up to 10000). I have tried the following
code in a query without any luck; always wrong syntax.
sort: left([Invnr], InStr([Invnr],"J")+1)
I do not want to add another field on my database.
Can anybody help me, please
Since the result when sorting on this field is somewhat “peculiarâ€
(J1, J100, J2 etc) I would like to separate the numbers from the “Jâ€
and sort on the number (can be up to 10000). I have tried the following
code in a query without any luck; always wrong syntax.
sort: left([Invnr], InStr([Invnr],"J")+1)
I do not want to add another field on my database.
Can anybody help me, please