Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report - group by month/year?

Status
Not open for further replies.

flojos1999

Programmer
Jan 2, 2003
5
US
I am a newbie to crystal
I am trying to create a report that groups by the month and year. The data contains a create date field. I would like to know what month/year the record was created on.

Example:

user enters the values for begin date(1/1/2002) and end date(4/25/2002)

The report will display the month/year

1/2002
Product Description Product Price Unit
2/2002
Product Description Product Price Unit
3/2002
Product Description Product Price Unit
4/2002
Product Description Product Price Unit


thanks for your help
FLOJOS1999

 
Group on the date field, and when doing so, select This Section Will Be Printed For Each Month, Crystal will perform this grouping for you.

You can then right click the Group 1 Name field that it creates and select format field->Date->

Month = 3

and

Year = 1999

and

separator of /

Now place your columns in the Detail section, you should have what you've described.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top