<ca**********@hotmail.comwrote in message
news:b7**********************************@j1g2000p rb.googlegroups.com...
Thanks for replying, Ron. How do I check the value? I cannot seem to
find the property that gives the value of the group footer, say I had
a PersonType field which had either STAFF or ATTENDEE. What would I
check for in the group footer?
Me.PersonType.????
Thanks again.
Check the value of the control that group is using. then set the group
footer's property based on that value.
if me![PersonType] = "STAFF" then
Me.Section(4).Visible = False ' Hide section if STAFF
else
Me.Section(4).Visible = True ' Show section if Not STAFF
endif
Section(4) is generated by the Expression Builder. The value (4) may be
different for your report and can change if you add or remove sections.