Empty report with NoDataBehaviour = [ndBlankPage] calls OnCancel
Hi,
I have a report with NoDataBehaviour set to ndBlankPage. When this report is
printed and there is no data the Report.OnCancel() event is called.
Is this the intended behaviour?
If it is: How can check inside the OnCancel() event if it's called because
the user cancels the report or because there is no data?
Using RB10.06 Ent, D7
Regards,
Jeroen R?ttink
I have a report with NoDataBehaviour set to ndBlankPage. When this report is
printed and there is no data the Report.OnCancel() event is called.
Is this the intended behaviour?
If it is: How can check inside the OnCancel() event if it's called because
the user cancels the report or because there is no data?
Using RB10.06 Ent, D7
Regards,
Jeroen R?ttink
This discussion has been closed.
Comments
Inside the OnCancel event, try checking the DataPipeline.BOF and
DataPipeline.EOF properties to determine whether there is data available for
the report or not and whether the report is being canceled by a user or by
the report.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com