Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    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]

  3. #3
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='781182' date='23-Jun-2009 11:32']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][/quote]

    Neat Hans, thanks, Darren.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •