Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Trying to group by words.... Post Reply Post New Topic
Author Message
tpearl
Newbie
Newbie


Joined: 04 Apr 2013
Online Status: Offline
Posts: 1
Quote tpearl Replybullet Topic: Trying to group by words....
     Posted: 05 Apr 2013 at 4:51am
Hello,

I have a list of words: Apple large, Apple small, Apple med, Pear larger, Pear med, Pear small, Orange large....ect. I need to group all the apples together, pears together and so on.....I can sort and group by first letter but not by types......is there a formula that can help...

Thanks in advance

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Apr 2013 at 6:01am
if your fioel alwasys starts with th eword you want to group on try using a formual to trim based on the first space that is encountered and then group on the resulting formula
left(field,instr(field," "))
IP IP Logged
judylynn
Newbie
Newbie
Avatar

Joined: 17 Nov 2008
Location: United States
Online Status: Offline
Posts: 22
Quote judylynn Replybullet Posted: 05 Apr 2013 at 8:57am

You can use specified order in "Change Group". Then you can define your groups how you wish. 

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