Make report group footer visible

S

Sean G.

Hello,

I'm trying to make a group footer visible depending on a
question on a form. However, my code is causing another
group's footer to be visible or not. Here is my code:

Private Sub GroupFooter0_Format(Cancel As Integer,
FormatCount As Integer)

If Forms!frmParam_RevenueCriteriaClientGroup.question
= "Yes" Then
Me.Section(acGroupLevel1Footer).Visible = True
Else
Me.Section(acGroupLevel1Footer).Visible = False
End If

End Sub

How do I know what grouplevel my footer is?

Thank You.

-Sean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top