Is there a way to create a generic group of months so that I can then link each grouped month to a date field in a subreport so that the subreport will only show data for the grouped month?
Why do you need a subreport? Rather than trying to specify an architecture, you might consider explaining what you have and what you need:
Crystal version
Datqabase/connectivity used
Example data
Expected output
You can just insert the date as a group within the subreport and select section will be grouped for each month.
Then in the record selection formula you can limit the rows being used in the report to whatever months or date ranges you want. An example for months might be:
month({table.date}) in [1,2,3]
That would return the first 3 months and group accordingly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.