Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Numerical Order Post Reply Post New Topic
Author Message
thesmug1
Newbie
Newbie
Avatar

Joined: 12 Jun 2009
Online Status: Offline
Posts: 13
Quote thesmug1 Replybullet Topic: Numerical Order
    Posted: 21 Jul 2009 at 8:39am
When I tell Crystal Reports to sort the data by a column of numbers in ascending order, it is not truly in ascending order.  For example, here is an excerpt from my list.

27005745
27006539
2856458
2857425
28771369
28776409

Obviously 27005745 is larger than 2856458, so does anyone know why this is happening and how to correct it?

Any help will be greatly appreciated.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Jul 2009 at 8:42am
I am guessing this is a text field with numeric characters in it.
Use a fomula to convert it to a number and sort on the formula field.
tonumber({table.textfield})
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.