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

Possible or impossible?

edited July 2002 in General
I group data and show grouphead and groupfoot. In the detailarea I have a
count for every dataset. Now my problem: I know the absolut count of dataset
not until I arrive the groupfoot. I want to set the visibility of a label in
the groupfoot of false, if there is only one dataset. If there more then one
dataset the label should be visible.
All my tryes to change a property or the value of a test-variable are
failed. The groupheader-label did not changed or it was changed for the
following group.
Can somebody help me?

Is it possible to set (maybe global) variables with a groupsum in the
grouphead?

Thanks,
Daniela Zuther

Comments

  • edited July 2002
    Which event are you using to set the visible property of the variable? One
    way to approach this is the following: Place a variable in the group footer
    which is reset on GroupStart. Code the DetailBand's Before/AfterPrint in
    which you update the count of that variable. Then, in the GroupFooter's
    BeforePrint set the Visible property of the desired label to False based on
    the count in that variable.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.