I have a main report that totals invoice amounts by account number. My subreport totals payments/credits with no grouping (no, the file structure does not allow me to link these two tables in the same report). I want a grand total of all payments/credits from the subreport to display in the report footer of the main report.
I have tried a number of things, the latest a shared variable between the main and the sub (and experimented with placement, etc.). I have a shared variable in the subreport report footer that sums the dollar amount. I have a formula in the main report that references the shared variable grand total from the sub. If I leave the subreport un-linked to the main, I get a grand total of all payments/credits but the totals are greater than they should be (as expected with no link - I get ALL transactions in that file). However, as soon as I link the two reports by account number, I get no data for a grand total.
I've been at this for about 8 hours straight and my brain can't grasp why this is not working. I figured some "fresh" thought might help.
I am using Crystal 9 This is the last thing that needs to be done on this report that has been weeks in the making so I am desperate!!!
I have tried a number of things, the latest a shared variable between the main and the sub (and experimented with placement, etc.). I have a shared variable in the subreport report footer that sums the dollar amount. I have a formula in the main report that references the shared variable grand total from the sub. If I leave the subreport un-linked to the main, I get a grand total of all payments/credits but the totals are greater than they should be (as expected with no link - I get ALL transactions in that file). However, as soon as I link the two reports by account number, I get no data for a grand total.
I've been at this for about 8 hours straight and my brain can't grasp why this is not working. I figured some "fresh" thought might help.
I am using Crystal 9 This is the last thing that needs to be done on this report that has been weeks in the making so I am desperate!!!