Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Sorting a report based on a parameter Post Reply Post New Topic
Author Message
colman1212
Newbie
Newbie


Joined: 08 Jul 2010
Location: Ireland
Online Status: Offline
Posts: 36
Quote colman1212 Replybullet Topic: Sorting a report based on a parameter
     Posted: 03 Aug 2010 at 1:08am
Just wondering if it is possible to sort a report based on input by the user?
So just say the report has a customer Id, location, asset number,
Is it possible for the user to decide what they want the report ordered on?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 03 Aug 2010 at 3:41am
yes.
just create a formula field to pick between these values and then sort on the formula field
if param=ID then customerid else if param=assess nmuber then assett number else ...
 
just make sure you can make the out put all of the same data type
IP IP Logged
colman1212
Newbie
Newbie


Joined: 08 Jul 2010
Location: Ireland
Online Status: Offline
Posts: 36
Quote colman1212 Replybullet Posted: 04 Aug 2010 at 12:40am
Thanks a million for your help, very very much appreciated.
Colman
IP IP Logged
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