If there an easy way to prevent subtotals from printing if there is only a single detail record in the group? I assume I have to add code to OnFormat??
I assume you don't want to print the entire group footer section. If this is the case, you can add a text box that counts the number of records in the group (txtDetailCount) and then add code to the On Format event of the group footer.
Code:
Private Sub GroupFooter0_Format(Cancel As Integer, FormatCount As Integer)
Cancel = Me.txtDetailCount = 1
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.