Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

report footer problem 1

Status
Not open for further replies.

jfrye

Technical User
Oct 29, 2001
2
US
I have a report that has 12 months of data being displayed in months along with a monthly footer, which of course shows up 12 times in the report. I want to suppress the footer for all but the last two months based on criteria set on one variable. Is there a way to do this?
 
Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
If Me!month = 11 Or Me!month = 12 Then
Me.GroupFooter1.Visible = true
Else
Me.GroupFooter1.Visible = False
End If
End Sub


Just substitute your field names where appropiate. Maq B-)
<insert witty signature here>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top