Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: How to insert dynamic group by in crystal report Post Reply Post New Topic
Author Message
kamsri153
Newbie
Newbie
Avatar

Joined: 26 May 2009
Location: India
Online Status: Offline
Posts: 17
Quote kamsri153 Replybullet Topic: How to insert dynamic group by in crystal report
     Posted: 21 Feb 2011 at 9:30pm
How to insert dynamic groupby in crystal report. i desinging from .net application.
 
very urgent pls help me.
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 22 Feb 2011 at 3:10am

nothing in CR is truly dynamic, as CR needs to know the schema of the data before anything happens.

With that said there are at least 2 methods that can be used to change the grouping of a report based on parameters.
 
1) create a formula and utilize the formula in the grouping criteria instead of table.field
 
2) use a stored proc to retrieve your data. You can create a column in the stored proc that is your 'Grouping' column and have the report utilize that value
 
I am sure that there are more, but these are 2 that I have used.
 
HTH
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