Monday, March 26, 2012
Grouping feilds
I'm fairly new on crystal reports so i'm learning on the fly as i do this and i have my boss asking me if it's ready hehe
On the screenshot attached all i want to do is group if their are multiple records and have the services display for that particular record.
I've attached the actual report as well if anyone get's chance to look at it. If i put the feilds in the details section and try and group the way i want it just all goes haywire.
Any ideas?
thanksthe report even with group will still show the name... this is because your Add on Services is different...|||I could suggest you create groups to records are shown again,
so they just would be shown one time.
sample
group for
File# Surname Fisrtname AsignStatus
------------
15498 Peter Jorn Active
Add on Services
-----
Global Temo Living
Visa & Inmigration
File# Surname Fisrtname AsignStatus
------------
1998 Name 1 Name2 Active
Add on Services
-----
Service1
Service2|||The other thing you can do is compare the File, SurName, FirstName, Asgn Status by checking all them with their previous values. If all are same then suppress them.|||Many thanks for the tips, i managed to get it working sort of similar to hensa22's example. The tricky bit with with crystal reports i'm finding is displaying the d@.mn data in a decent way hehe
--edit--
here is the final form if anyone does want to see itsql
Monday, March 12, 2012
Group Count
Good Morning.
This should be fairly easy but for the life of me, I can't figure it out...
I am using SQL reporting Services 2000 and Visual Studio 2003.
I have a very simple report that is grouped by a users name. What I can't figure out is how to get the count of records in a group. I have already got the total number of records for all groups but I also need to have the Group count as well.
Any help would be greatly apprceiated
Try the inscope function?
http://devauthority.com/blogs/chrisslatt/archive/2005/07/06/Reporting_Service_Using_InScope_to_do_custom_subtotals.aspx
|||
For table like this:
Table Header:
Group Header:
Detail:
Group Footer:
Table Footer:
I do the following: add COUNT() into Group Footer line. It will calculate you number of rows for each group. If you put COUNT to Table Footer it will calculate you total number of rows. It's for simple situation. In case of complicated calculation and table structure you can use InScope, as Andrew told you.