Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppMemo Not Clearing

edited June 2006 in General
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

Comments

  • edited June 2006
    Hi Debbie,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.