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

SuppressRepeatedValues

edited September 2003 in General
Hi,

I have an ppLabel1 field. This is the description associated with a key
value.
How and where (which event) do I set the caption of the ppLabel1 field to
blank when it's associated key value's SuppressRepeatedValues = true

Regards,
Nols Smit

Comments

  • edited September 2003
    Hi Nols,

    You will need to use the DetailBand.BeforePrint event to successfully
    suppress any other object while suppressing a DBText value. There is also a
    bit more to it than that. Here is a good example of suppressing other
    report objects when a DBText is also being suppressed. Hope this helps.

    http://www.digital-metaphors.com/tips/SuppressRepeatedShapeWithDBText.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2003
    Hi,

    Thanks for the clear example. I replaced the TppShape with a TppRegion
    component because I have an ID (the table's key) with an associated
    Description field (looked up from another table via the ID). So when the ID
    is blanked out I also want the Description blanked out.

    Regards,

    Nols Smit

This discussion has been closed.