views:

29

answers:

1

I need to write a report that on startup shows specific groups expanded while other remains collapsed. I've been searching for a property like "collapsed" or "expanded" or similar at the group level, but I found none.

The only way I've found to do something similar is through the "hidden" properties of the detail. But this way the +/- mark to the side of the group works in the opposite way: it shows '-' when the group is collapsed and '+' when it is expanded.

Is there a better way to expand or collapse a group based on a programmed condition?

+3  A: 

To solve the +/- mark problem, go to the Properties of the Element which contains the +/- symbol, and set the property "InitialToggleState" using an expression.

Fillet
it works! I wrote a conditional expression for the hidden property of the detail and then I wrote the negated version of the same expression for the group.
sergiom