pamgdevlin
Programmer
I'm working in Crystal 8.5 grouping and summing the historical quantities of products for specific months and my main report looks like this:
JAN FEB MAR APR MAY JUN
380005 123 555 76 678 55 99
Since July data is in a different table, I'm using a subreport to add July to my report by linking the product code fields. My problem is that if there is data for a particular product code in the main report, but not in the subreport, I get a blank which hinders my ability to create a grand total. I tried to create a formula in the subreport to enter a zero if the field was null, but it wouldn't work. (see below)
IIF (isnull(Sum ({ARTRS31.FSHIPQTY}, {ARTRS31.FITEMNO})),0 ,Sum ({ARTRS31.FSHIPQTY}, {ARTRS31.FITEMNO}) )
If anyone has any suggestions, I'd really appreciate it.
JAN FEB MAR APR MAY JUN
380005 123 555 76 678 55 99
Since July data is in a different table, I'm using a subreport to add July to my report by linking the product code fields. My problem is that if there is data for a particular product code in the main report, but not in the subreport, I get a blank which hinders my ability to create a grand total. I tried to create a formula in the subreport to enter a zero if the field was null, but it wouldn't work. (see below)
IIF (isnull(Sum ({ARTRS31.FSHIPQTY}, {ARTRS31.FITEMNO})),0 ,Sum ({ARTRS31.FSHIPQTY}, {ARTRS31.FITEMNO}) )
If anyone has any suggestions, I'd really appreciate it.