Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: How to group in crystalreport Post Reply Post New Topic
Author Message
sarooptrivedi
Newbie
Newbie
Avatar

Joined: 18 Jun 2008
Online Status: Offline
Posts: 10
Quote sarooptrivedi Replybullet Topic: How to group in crystalreport
    Posted: 25 Oct 2008 at 1:57pm
hello everyone
 
how can i group the record in crystalreport.......
 
in count() function i want to group the records by month wise of dates
 
ex.
 
count({License.srno},{License.payment_date},group condition);
 
now i want to group the records in Month({License.payment_date})
 
how can it's possible in crystal report..
reply me on my mail id:saroop.trivedi@gmail.com.
crystal report help.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 03 Nov 2008 at 11:33am

Insert a Group on {License.payment_date}.  Set "This section will be printed" to "for each month".

-Dell
IP IP Logged
sarooptrivedi
Newbie
Newbie
Avatar

Joined: 18 Jun 2008
Online Status: Offline
Posts: 10
Quote sarooptrivedi Replybullet Posted: 03 Nov 2008 at 11:43am
Hello
please give me ur mail id
else
please contact on this id
 
because i can't be able to do it my group problem...
please reply me...
Saroop
reply me on my mail id:saroop.trivedi@gmail.com.
crystal report help.
IP IP Logged
sarooptrivedi
Newbie
Newbie
Avatar

Joined: 18 Jun 2008
Online Status: Offline
Posts: 10
Quote sarooptrivedi Replybullet Posted: 03 Nov 2008 at 11:48am
Originally posted by hilfy

Insert a Group on {License.payment_date}.  Set "This section will be printed" to "for each month".

-Dell
 
hello Dell
how i will print this section i don't know this option... please tell me
-Saroop
reply me on my mail id:saroop.trivedi@gmail.com.
crystal report help.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 04 Nov 2008 at 9:58am
For various reasons I don't give out my email address on-line - sorry!
 
Which version of Crystal are you using?
 
In XI and 2008 when you create a group on a date type field, at the bottom of the screen where you select the the field to group on, there is a section with the lable "This section will be printed" and a drop-down list to select when it will be printed.  In the drop-down list, select "for each month".
 
If this is not available, it means that the field in the database is not a "date" but probably a "string".  In this case, you need to create a formula to convert the string to a date (look at the Date(), Left(), Right(), and Mid() functions in Help) and then group on the formula instead of the field.
 
-Dell 


Edited by hilfy - 04 Nov 2008 at 9:59am
IP IP Logged
sarooptrivedi
Newbie
Newbie
Avatar

Joined: 18 Jun 2008
Online Status: Offline
Posts: 10
Quote sarooptrivedi Replybullet Posted: 04 Nov 2008 at 11:29am
Hey Dell
 
     I know this all functionality...I think so u not understand my problem.
 
i have two field on which i group my data in reports.
[1]payment_date
[2]feetype
 
feetype of subgroup of payment_date..okai
there are four types of fee
[1]regular
[2]multy
[3]service
[4]senior
 
now i group the records as
count({License.srno},{License.feetype}) so it's give the group of records in above four types.
 
but i want the number of records count in monthwise (payment_date)
means records of different fee types in month wise..
means
payment_date is mt first group and feetype is second sub group..
 
I hope u understand what basically i want..
if u don't mind then i send the application link here just inform me..
by mail or here too
my mail id :saroop.trivedi@gmail.com
 
Thank you for reply me
 
 
Saroop  Trivedi
 
reply me on my mail id:saroop.trivedi@gmail.com.
crystal report help.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 04 Nov 2008 at 2:50pm
So your report is grouped one way and you want to do counts based on it being grouped another way, correct?
 
What you'll have to do is create a subreport to get the counts.  The subreport will use the same tables as your main report, but it will be grouped by date and then by fee type.  Place the subreport where you want the counts to appear.
 
-Dell
IP IP Logged
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.031 seconds.