Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Tips and Tricks
Message Icon Topic: Format in Group Tree Post Reply Post New Topic
<< Prev Page  of 2
Author Message
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 23 Apr 2009 at 7:30am
Just for clarity you got it to work OK, correct?
IP IP Logged
Msarvepalli
Newbie
Newbie


Joined: 21 Apr 2009
Online Status: Offline
Posts: 7
Quote Msarvepalli Replybullet Posted: 24 Apr 2009 at 7:01am

No. Let me explain. When I directly use String for grouping, each file is under its own group. Earlier, all files starting with say 10 were under one group, now each file under 10(10.0001, 10.0002, 10.0003,...) is divided into its own group. 10.0001 is under 10.0001 group and 10.0002 under 10.0002 and so on.

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 24 Apr 2009 at 7:17am
Gotcha.
if it is always the first 2 characters that you want to group on then just trim it:
left({table.field},2)
or if there is othe oprions trim it looking for the decimal point
left({table.field},instr({table.field},".")-1)
IP IP Logged
<< Prev Page  of 2
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.033 seconds.