Cancel current page
We have a report that starts a new page for each group. for each record in
the detail band we do some calculations whetever to display the band or not.
Now we sometimes end up with a group header with no data in the detail band.
Is there any way to cancel the current page if no data is PRINTED in the
detail band, (the data exists, but it's not printed).
Thanks in advance
the detail band we do some calculations whetever to display the band or not.
Now we sometimes end up with a group header with no data in the detail band.
Is there any way to cancel the current page if no data is PRINTED in the
detail band, (the data exists, but it's not printed).
Thanks in advance
This discussion has been closed.
Comments
set to visible false when the detail band is trying to print below it.
If the data can be eliminated from being sent through the pipeline, then no
detail bands will generate and the problem is solved. When do you know that
a detail band should print or not? You could perform the calculation on the
data access side, to limit the records that print.
You can also skip records in the pipeline.
http://www.digital-metaphors.com/tips/Skipper.zip
A brute force method would be to take control of the page objects and
manually send them to the device. This is the last resort, which would
work, but we suggest trying to eliminate the page from generating first, if
possible.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
no
that
the
The issue at hand is printing statments. When requesting a statement, the
user has an option, to enter a start date for when transaction history
should start showing. Yet I can't eliminate the old data on the data access
side, cause we gotta calculate the Balance Forward. Thus we end up checking
in the on print event "detail.visible := date is before the start date", and
add the running balance to a variable. Then some customers end up with no
transactions after the current date, and the user might try sending them a
diffrent kind of statement, instead of a statement showing one line for
balance forward only.
Any suggestions?
if
in
detail records that didn't fit my criteria. The report automatically does
not generate the group, when no detail records are present. You should be
able to adapt this approach to check the start date of the current record to
determine if the record should be skipped.
http://www.digital-metaphors.com/tips/SkipperWithGroups.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Now how can I put that in RAP ?
Do I have to create a pass-thru function for every property.