Experts, I have a subreport within a Parent and when there is no data in this subreport, it becomes invisible and therefore the Parent report does not show this subreport. I imagine this kind of problem has been encountered before and maybe there is some simple kind of workaround.
record source of subreport
SELECT tblReferredBy.* FROM tblReferredBy WHERE (((tblReferredBy.DealID)=[
forms]![fr
mDeals]![D
ealId]));
What I see in datasheet view of the subreport is a DealID = 0 but it should not equal 0 but the dealID of forms!frmDeals!DealID. I assume this is why the subreport does not appear in the Parent.
Is there a simple way to fix this in the subreport? Maybe a NoData event?
thank you
Start Free Trial