Thanks John, it worked. But now I have another problem; I have to import the
Part No's from Excel so I don't have to retype them. So my problem is that
they are coming over like this Table 1

R1011 and Table 12

R12210. They are
sorting by the last numbers fine, but the Table No's are sorting in text
format still.
How can I change the expression so that it will sort by the table no first
then by the last no's?
I really appreciate your respose.
Thanks
"John Vinson" wrote:
> On Fri, 3 Mar 2006 06:56:27 -0800, Dustin
> <(E-Mail Removed)> wrote:
>
> >This worked but when I ran the query it doesn't show show me the DR in front
> >of the number and it doesn't show me DR1241. It showed me only numbers that
> >ended with 0. What do I now?
> >And I have just noticed that I have letters on the end of some part no's as
> >well. How does that figure into the expression?
>
> You need to include both the actual field (for display) *and* the
> calculated field (just for sorting). Try
>
> SortKey: Val(Mid([PartNumber], 3))
>
> Mid() will return the string from the third byte on (to the end of the
> field); Val will extract the first numeric substring of that string.
> That is, for PartNumber DR1241, SortKey will be an integer 1241; for
> PartNumber DR3125A it will be 3125; for PartNumber DR0010 it will be
> 10.
>
> John W. Vinson[MVP]
>