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 Wanet Telecoms Ltd 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

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?
 
Try using the OnFormat event of the PageFooter section. For example:
Code:
Private Sub PageFooter_Format(Cancel As Integer, FormatCount As Integer)
  Me.Section("PageFooter").Visible = (SomeCriteria = True)
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top