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

How to suppress repeated value for Variable?

edited March 2002 in General
In DBText, there is a flag to suppress repeated value. In the case of data
fields in group header, one can move this field in detail band. How do I do
the same thing for Variable in the group? Any help will be appreciated.

Thomas Liaw

Comments

  • edited March 2002
    Your best bet is going to set the visibility of the component in the
    DetailBand.BeforePrint event. Check the variable's value and perform a
    calculation in the Detail.BeforePrint event handler. Check to see if the
    next variable value is going to be different than the previous detail band's
    variable value. One consideration is that you will want to set a boolean
    flag variable if the variable is the first one on the page, then you'll want
    to print the variable (always) in the first detail band of each page.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.