Results 1 to 4 of 4
  1. #1
    Vapoldo is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    2

    Using the Top Value field in a query.

    I have a query that contains multiple providers claim history. I am trying to identify the top ten occuring procedures for each provider. When I use the Top Values option, it provides the top ten proceedures for all providers not the top ten for each provider. Any suggestions?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Vapoldo is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    2
    It worked!!! Thanks soooo very much. I didn't realize I needed to work with two queries. I was trying to do everything in the one!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Nested subqueries add a lot of power to SQL. That link has several you might find of interest.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 07-28-2013, 12:40 AM
  2. Replies: 6
    Last Post: 04-26-2013, 10:07 AM
  3. Replies: 5
    Last Post: 04-23-2013, 01:42 PM
  4. Replies: 5
    Last Post: 06-19-2012, 10:46 AM
  5. Replies: 1
    Last Post: 08-31-2011, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums