Master Detail report problem with from 5.x to 6.02
I had a report that has a master pipeline and a subreport on the main detail
band has a detail pipeline. It was working fine until I recompile the
program in 6.02 and now the report will only print master record that has
detail records. Any master record that has no detail record will not print?
band has a detail pipeline. It was working fine until I recompile the
program in 6.02 and now the report will only print master record that has
detail records. Any master record that has no detail record will not print?
This discussion has been closed.
Comments
I had confirmed there is a bug in 6.02 for master detail report.
I compile the master detail report in the tutorial directory, then run the
report and everything looks right until I delete orders for a customer and
that customer does not show on the report any more.
I need a fix real bad!
Thanks,
Vinh,
In certain cases the 'Problem' that you see as a bug on your side can
sometimes be very helpfull. I for instance, have a report that I only want
to print the detail for those master records that have detail records -
otherwise there is (in my case) a lot of useless information on my report.
In your case the information that I call 'useless' is actually very
important (and thus 'usefull') information to you application users.
It would be nice if this 'Bug' can be toggled by the Developer - according
to his needs.
Go well
Rico Koegelenberg
message from Rico Koegelenberg, I started to look at the "SkipWhenNoRecords"
properties and found out that I make a mistake on changing it to True.
So if you want all master record to print even when there is no detail then
set this properties to False on the the detail pipeline.
Thanks for you posting it helped me found my mistake on setting the
properties in reportbuilder.
The feature you're looking is there.
1. Only want master record to print when there is detail then make sure
"SkipWhenNoRecords" properties on the detail pipeline is set to True. This
is the default setting.
2. Want all master record to print even when there is no detail then set
the properties to False.
Vinh,
I must thank You. You solved some future problems for me!
Cheers
Rico