My DB does not have the tables I need, so I have to create custom SQL queries (commands in Crystal terminology), embed the results in a subreport, and fill my report with subreports. Here's what I want to happen:
Report asks user for a date
That date gets passed into the subreports
The date passed into subreports gets used in the query.
User only has to enter date once, everything else happens behind the scenes
Here's what actually happens:
User is asked for date for subreport 1
User is asked for date for subreport 2
etc etc
User gets frustrated and report is unsuccessful.
I know I can link parameter fields between reports, but as I understand it, I cannot do the same with commands. How can I rectify this?
Courtesy: @MartW