• Counting in reports (2000)

    Author
    Topic
    #460706

    Hi, I have a query that returns all records from a series of one to many and many to many relations, so for instance I could have an ID of say A1 but that could have 4 risks types associated to it. In my query and report there are 4 records. I need a count type function that distinctly counts only counting the ID once, even though it occurs 4 times it distinctly only exists once.

    Thanks, Darren.

    Viewing 0 reply threads
    Author
    Replies
    • #1166056

      If you group the report by ID, you can place a hidden text box txtRunningCount in the group header or footer with Control Source set to =1 and Running Sum set to Over All.

      In the report footer, place a text box with Control Source =[txtRunningCount]

      • #1166063

        If you group the report by ID, you can place a hidden text box txtRunningCount in the group header or footer with Control Source set to =1 and Running Sum set to Over All.

        In the report footer, place a text box with Control Source =[txtRunningCount]

        Neat Hans, thanks, Darren.

    Viewing 0 reply threads
    Reply To: Counting in reports (2000)

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

    Your information: