Hi there,
I have set the report to group on a particular field subgrp and Group Header=Yes. In the report, the group header section contains an unbound textbox txtsubgrp. In the Onprint event for this group, I assign a value to this unbound field. In some instances I actually set the unbound textbox value to null because I don't want any value printed. This works fine - I have a blank group header sometimes.
I have also set the can shrink properties for the group header and the unbound text box to yes. Where the unbound text box is null I would like to "shrink" this group header area. But this does not appear to work - the blank group header remains.
Does anyone have any ideas how I can "shrink" the group header when the unbound text box value is null?
cheers
Stable
I have set the report to group on a particular field subgrp and Group Header=Yes. In the report, the group header section contains an unbound textbox txtsubgrp. In the Onprint event for this group, I assign a value to this unbound field. In some instances I actually set the unbound textbox value to null because I don't want any value printed. This works fine - I have a blank group header sometimes.
I have also set the can shrink properties for the group header and the unbound text box to yes. Where the unbound text box is null I would like to "shrink" this group header area. But this does not appear to work - the blank group header remains.
Does anyone have any ideas how I can "shrink" the group header when the unbound text box value is null?
cheers
Stable