TppDetailBand BandsPerRecordCount OnChange event available?
Hi,
We use TppDetailBand.BandsPerRecord to handle multiple copies of pbSection
subreports. It works ok but now I have a TppArchiveDevice linked to the
report that streams the printout to the database. Trouble is now when
TppDetailBand.BandsPerRecord > 1: fi 2 the original + the copy is streamed
too to the database which i don't want. I suppose the
TppDetailBand.BandsPerRecordCount propertie goes from 1 to
TppDetailBand.BandsPerRecord. Is there any event available that gets
triggered when the BandsPerRecordCount changes so i can do a
TppArchiveDevice.EndJob and only stream the first copy from the subreport to
the database.
Greetings,
Filip Moons
We use TppDetailBand.BandsPerRecord to handle multiple copies of pbSection
subreports. It works ok but now I have a TppArchiveDevice linked to the
report that streams the printout to the database. Trouble is now when
TppDetailBand.BandsPerRecord > 1: fi 2 the original + the copy is streamed
too to the database which i don't want. I suppose the
TppDetailBand.BandsPerRecordCount propertie goes from 1 to
TppDetailBand.BandsPerRecord. Is there any event available that gets
triggered when the BandsPerRecordCount changes so i can do a
TppArchiveDevice.EndJob and only stream the first copy from the subreport to
the database.
Greetings,
Filip Moons
This discussion has been closed.
Comments
There is no specific event that fires as the BandsPerRecordCount is changes.
A couple options you might try...
Use the TppDetailBand.BeforePrint to check the BandsPerRecordCount and if it
is greater than one, stop the archive device.
Before the report is printed to Archive, simply be sure the BandsPerRecord
is set to 1.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com