Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Group Sorting Problem!! Post Reply Post New Topic
Author Message
murtz
Newbie
Newbie


Joined: 16 Jun 2009
Location: United Kingdom
Online Status: Offline
Posts: 4
Quote murtz Replybullet Topic: Group Sorting Problem!!
     Posted: 16 Jun 2009 at 3:24am
Hi Guys.
 
I've got a problem with group sorting.
 
I have grouped my report by Item Status. The status of an item could be the following;
 
'MOT'
 
'RFL'
 
'BOTH'.
 
Would there be anyway to make the sorting dependant on the Item status?.
 
For example, if the group name is MOT, then sort by MOT.date, if its RFL then sort by RFL.MOT?
 
Please help!Confused
 
Murtz
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 16 Jun 2009 at 6:33am
Hi
 
Create a formula,I think you are using parameters to filter the report,
 
Frm1
 
If {?Parameter.field}= 'MOT' then MOT.date
else if {?Parameter.field}= 'RFL' then RFL.MOT
 
go to sort expert then move then select the  formula  field  and move to sort fields.
 
cheers
Rahul
 
 
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