TppMemo Not Clearing
Hello. I am using RB 6.0. I have a tppmemo called AddressBox. The report
is a 2-pass report. The component is in a group footer band. In the
BeforeGenerate event of this band, I do an "AddressBox.Clear". In the
second pass, the data from the first pass remains and I'm getting
duplicates. What should I be doing to clear the data?
Thanks!
Debbie Erickson
is a 2-pass report. The component is in a group footer band. In the
BeforeGenerate event of this band, I do an "AddressBox.Clear". In the
second pass, the data from the first pass remains and I'm getting
duplicates. What should I be doing to clear the data?
Thanks!
Debbie Erickson
This discussion has been closed.
Comments
Try placing a break point on this line and find out if the AddressBox
component is actually being cleared. If not, try using a different event
such as the BeforePrint event. Are you trying to clear the memo after each
pass? If you just need to clear it after the first pass you can use the
Report.FirstPass property to conditionally fire the code.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com