Report sorting numbers wrongly

Tremor

Registered User.
Local time
Today, 02:11
Joined
May 2, 2009
Messages
13
Hi there.

I have a report which is working great apart from one problem. I have ot grouping by CustomerName which is fine, then I want it to sort by NoOfDays.
Now, it does this, but it treats 9 as higher than 20, for instance. It only seems to be sorting on the first digit of every number.

Any ideas?

Thanks, Paul
 
You get it to work by wrapping it in a cint() function.
 
Hi there.

I have a report which is working great apart from one problem. I have ot grouping by CustomerName which is fine, then I want it to sort by NoOfDays.
Now, it does this, but it treats 9 as higher than 20, for instance. It only seems to be sorting on the first digit of every number.

Any ideas?

Thanks, Paul
1. If NoOfDays is Text then it will sort by the TEXT value and not numeric value.

2. If it is numeric, then you probably haven't added a sort on that field in the Report Sorting And Grouping (it will not keep sorts from the query).
 

Users who are viewing this thread

Back
Top Bottom