Stopping all report from running
Hi,
I have a report with a sub-report in the title of the report. Under certain
circumstances I want the report to print the sub-report, but not to continue
on and print the standard report as defined by groups and detail lines.
Where in RAP calculations would be the best place to prevent this? I have
tried making all the bands non-visible but it still prints a blank page per
group.
Thanks
Alex
I have a report with a sub-report in the title of the report. Under certain
circumstances I want the report to print the sub-report, but not to continue
on and print the standard report as defined by groups and detail lines.
Where in RAP calculations would be the best place to prevent this? I have
tried making all the bands non-visible but it still prints a blank page per
group.
Thanks
Alex
This discussion has been closed.
Comments
set Report.Autostop to true. That would force the report to print only one
detail band.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I do not want to print 1 detail band. I have the sub-report in the title
band and have set it to be on its own page, so this is already printed when
it comes to the first detail band. At this point I do not want the report
to go any further and the end-result I would like is that the title page.
Regards
Alex
Report.PageLimitReached method. If you want to stop the report but let it
continue with the last record generation, then call
Report.DataTraversalCompleted. When you do this, set all the controls except
the title band to not be visible. That should do the trick.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com