Report.Cancel not halting report generation.
I have migrated some of my report builder reports from version 9.03 to 18.03.
In my report, based on some condition report should not be generated. For this i have the code like below.
if stopReport then
begin
Report.Cancel;
end;
This Report.Cancel is not stopping my report. Report data is printed / previewed. In older version it works properly. Is there any difference in Report.Cancel between those versions? (or) is there any other method to stop report printing?
In my report, based on some condition report should not be generated. For this i have the code like below.
if stopReport then
begin
Report.Cancel;
end;
This Report.Cancel is not stopping my report. Report data is printed / previewed. In older version it works properly. Is there any difference in Report.Cancel between those versions? (or) is there any other method to stop report printing?
Comments
We only have resources to provide tech support to Delphi developers with an active ReportBuilder license. If you meet these requirements, please send license details to support@.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com