Hi Jeff, Thanks for your reply. The character is properly stripped from the
ID, however when i sort the results in an "ascending" fashion, they begin
with 1, then follow with 10, 100, 1000, 1001... and so on. How is it that I
can sort them sequencially?
Thanks,
Evan M
evan AT radiologyonesource DOT com
> Evan
>
[quoted text clipped - 18 lines]
>> Evan M
>> evan AT radiologyonesource DOT com
Jeff Boyce - 29 Apr 2005 00:12 GMT
Sounds like they are characters, not numbers. You may also have to convert,
after stripping, to a numeric data type. Your expression might look
something like:
Expr1: CInt(Mid([YourField],2))
Good luck
Jeff Boyce
<Access MVP>
> Hi Jeff, Thanks for your reply. The character is properly stripped from
> the ID, however when i sort the results in an "ascending" fashion, they
[quoted text clipped - 27 lines]
>>> Evan M
>>> evan AT radiologyonesource DOT com
Evan M - 29 Apr 2005 21:18 GMT
Hi Jeff,
I added the "CInt()" around the original code as you had reccomended,
however, now i receive a "Data-Type mismatch" error. Do you have any
suggestions about what may be happening?
Thanks,
Evan
evan AT radiologyonesource DOT com
> Sounds like they are characters, not numbers. You may also have to
> convert, after stripping, to a numeric data type. Your expression might
[quoted text clipped - 38 lines]
>>>> Evan M
>>>> evan AT radiologyonesource DOT com
Paul Overway - 29 Apr 2005 21:23 GMT
Use CLng instead of CInt

Signature
Paul Overway
Logico Solutions
http://www.logico-solutions.com
> Hi Jeff,
>
[quoted text clipped - 48 lines]
>>>>> Evan M
>>>>> evan AT radiologyonesource DOT com
Evan M - 29 Apr 2005 22:47 GMT
Hi Paul, Jeff,
I found the error - a user had modified two records and added an extra alpha
character to the strings: 1111A and 1111B. The A and B were causing the
problem. Thanks for both of your help!
Evan M
evan AT radiologyonesource DOT com
> Use CLng instead of CInt
>
[quoted text clipped - 50 lines]
>>>>>> Evan M
>>>>>> evan AT radiologyonesource DOT com