Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem about SubReport

edited April 2005 in General
Hi,
I use RBuilder 7.0. and use subreport for detail data print. My question
is that Sometimes master data has blank detail records. When detail is blank
in subreport, the master data cannot print out too.(means Only shown detail
not blank). I try to do as the folloing steps, but can't improve. Hope
someone can help. Thank you very much.

On main report RAP code

DetailBeforeGenerate:

if Query2DataPipeLine.BOF and Query2DataPipeLine.EOF then
SubReport1.Datapipeline := nil else
SubReport1.Datapipeline := Query2DataPipeLine;

And in Repoprt Designer set Datapipeline of SubReport1 on Empty (<- without
this does not work!)

Regards,
abcat66

Comments

This discussion has been closed.