D
DDJ
Our report includes a group section which includes both a label and a text
control used to subtotal a field in the Detail section of the report. In
addition, the Group section includes a Line control above the text control
(so it's obvious to the user that this is a total).
On certain types of records run through the Detail section, we don NOT want
a subtotal. Accordingly, we have set the "Can Shrink" property of both the
group section, and the label and text box controls to "Yes". However, the
Line control does not have a "Can Shrink" property, so there is no way to
get rid of the line in the report.
For the most part, we have tried using an Expression in the OnFormat or
OnPrint events for the group section similar to the following:
=IIf([GroupID]=1, GroupFooter2.Visible=False, GroupFooter2.Visible=True)
This expression, or similar ones, seems to always come back with a data type
mismatch error when running. Can anyone see where our problem is?
Thanks for any help!
Dan
control used to subtotal a field in the Detail section of the report. In
addition, the Group section includes a Line control above the text control
(so it's obvious to the user that this is a total).
On certain types of records run through the Detail section, we don NOT want
a subtotal. Accordingly, we have set the "Can Shrink" property of both the
group section, and the label and text box controls to "Yes". However, the
Line control does not have a "Can Shrink" property, so there is no way to
get rid of the line in the report.
For the most part, we have tried using an Expression in the OnFormat or
OnPrint events for the group section similar to the following:
=IIf([GroupID]=1, GroupFooter2.Visible=False, GroupFooter2.Visible=True)
This expression, or similar ones, seems to always come back with a data type
mismatch error when running. Can anyone see where our problem is?
Thanks for any help!
Dan