I created a fairly simple report in Crystal Reports 9 that lists a series of advertisements (ad numbers) that meet specified criteria. Each row of the report includes a field called "sale". Every ad in our environment belongs to a "sale". The report user has asked that I further modify the report, and include not just the ads that meet the report criteria, but all ads that are belong to a "sale".
So where my current report returns results like this:
Ad Number Pages Ad Description Run Date Sale
37128 48 Summer Event 6/1/2015 1907
37555 12 B-T-S Mailer 8/1/2015 2709
37589 24 Fall Catalog 9/1/2015 2709
I would want to take the unique sale numbers for each row then query the database to list all the ads that are associated to sale 1907, regardless of whether they are part of my original query, so while Sale 1907 shows Summer Event above, it might also have 16 other ads that I would want to display. Same for Sale 2709, show all the ads that are associated to that sale number.
Basically I am not so much modifying my original report, but instead using the original report to build a list of sale numbers. Once I have the sale numbers, the final report should display all the ads that are associated with those sales.. In my experience with Crystal Reports, I've only pulled data once and displayed it on a report. I have nave never pulled data to get criteria (sale numbers) to then build a report. What would be my next steps? Would a formula get me where I need to go. Any guidance would be appreciated.
Thanks