G
Guest
I have built a report based on a query that is sorted by a case number.
There is also a date field. I'd like to get the report to group the cases by
year. The closest I've come is to get a header for each record that lists
the year by using the following code:
DatePart("yyyy",[CaseDate]) but this lists the year for each record
instead of listing the year once. I know I'm missing some simple piece, but
can't figure it out for the life of me.
What I want my report to look like is:
2000
CaseNumber1 CaseDate InvolvedParty
Case Number2...
and then on a new page
2001
CaseNumber1...
Thanks for the help
There is also a date field. I'd like to get the report to group the cases by
year. The closest I've come is to get a header for each record that lists
the year by using the following code:
DatePart("yyyy",[CaseDate]) but this lists the year for each record
instead of listing the year once. I know I'm missing some simple piece, but
can't figure it out for the life of me.
What I want my report to look like is:
2000
CaseNumber1 CaseDate InvolvedParty
Case Number2...
and then on a new page
2001
CaseNumber1...
Thanks for the help