sort numbers in column from query

megatronixs

Registered User.
Local time
Today, 11:15
Joined
Aug 17, 2012
Messages
719
Hi all,

I have query that has a column to calculate days passed. If I want to filter the column to show the number by order, all I will see that it starts with 1 and then it skips 2 to start with 10. How can I filter it to show correct? As this is not a real column in the table, it looks like it will be more dificult.

Greetings.
 
You may need to run a second query on your calculation query, or use the calculation in a sub query then order the result.
 
Can't you convert the calculated value to a integer or long?
Code:
CInt(YourCalculation)
CLng(YourCalculation)
 
Hi all,

JHB's tip did the trick :-)
Thanks a lot all of you for your great help in this great forum :-)

Greetings.
 

Users who are viewing this thread

Back
Top Bottom