the main report is connected to dataset a, the subreport is connected to dataset b, main report is group by field 'x' in dataset a, if subreport related to field 'x' has no record to print, then I want to stop print that group, how to do this?
You will need to use the OnNoData event to stop the report traversal when there is no data. Also check out the DataPipeline.SkipWhenNoRecords property to skip the printing of records when there is no data present.
Comments
You will need to use the OnNoData event to stop the report traversal when
there is no data. Also check out the DataPipeline.SkipWhenNoRecords
property to skip the printing of records when there is no data present.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com