chrisppppp
MIS
Crystal 2008
Hi,
I've got a subreport which i'm sharing datetimevar to the main report. My problem is, if there is no data in the subreport which matches the account ID in the main report the subreport is obviously blank, however my shared variable is pulling through values from the line above that does have data. So all null sharedvar values that have no data in the subreport is having a date populated in it which isn't correct. Is there some way of stopping this happening?
my formula in the subreport is:
whilePrintingRecords;
Shared datetimevar mincalldate := Minimum ({tblNotes.EntryDate}, {tblAccount.AccountID})
and my formula in the main report is:
WhilePrintingRecords;
Shared datetimeVar mincalldate;
mincalldate
Many thanks in advance
Hi,
I've got a subreport which i'm sharing datetimevar to the main report. My problem is, if there is no data in the subreport which matches the account ID in the main report the subreport is obviously blank, however my shared variable is pulling through values from the line above that does have data. So all null sharedvar values that have no data in the subreport is having a date populated in it which isn't correct. Is there some way of stopping this happening?
my formula in the subreport is:
whilePrintingRecords;
Shared datetimevar mincalldate := Minimum ({tblNotes.EntryDate}, {tblAccount.AccountID})
and my formula in the main report is:
WhilePrintingRecords;
Shared datetimeVar mincalldate;
mincalldate
Many thanks in advance