• Subtotals in Report Footer (v2000)

    Author
    Topic
    #363803

    I have a report showing sales by person in the detail section and sales by region (Midwest, New England, etc.) in the group footer. I need to show sales by state for the North Pacific Region directly underneath the regional total for the North Pacific Region. How can I do this without showing state totals for the other regions, without skewing the report footer totals and without ruining the alignment of the report?

    Viewing 1 reply thread
    Author
    Replies
    • #556375

      Deshiell,

      You have to add a group footer for the region, then in the On Format event of this footer, you can set the Visible property to true for the North Pacific region and to false for all others.

      Private Sub GroupFooter0_Format(Cancel As Integer, FormatCount As Integer)
      If Region = "North Pacific" Then
         Me.GroupFooter0.Visible = False
      Else
         Me.GroupFooter0.Visible = True
      End If
      End Sub
      
    • #556378

      It’s morning here and I must still been sleeping.
      The cod has to be :

      Private Sub GroupFooter0_Format(Cancel As Integer, FormatCount As Integer)
      If Region = "North Pacific" Then
         Me.GroupFooter0.Visible = True
      Else
         Me.GroupFooter0.Visible = False
      End If
      End Sub
      
    Viewing 1 reply thread
    Reply To: Subtotals in Report Footer (v2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: