Results 1 to 4 of 4
  1. #1
    mohanmoni is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Posts
    6

    Minimum and Maximum Number

    Hi,

    I am looking for query to retrieve Minimum and maximum value in the field if text is existed.

    Example:

    ID
    --------------------------
    245
    246
    278
    358
    John
    9857
    Richard
    6547


    2540

    Thanks.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Use the query builder and build a Totals (GROUP BY) query using Min() and Max() aggregate functions.
    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
    mohanmoni is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Posts
    6
    Can you please explain me how?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    This is basic Access functionality. Open the query builder, pick table, pull fields to grid, click Totals on the ribbon, set criteria in the grid. Access Help has more guidelines on using the query builder.
    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. minimum number in report
    By rmiell in forum Reports
    Replies: 2
    Last Post: 10-10-2012, 02:33 PM
  2. Replies: 0
    Last Post: 02-09-2012, 05:43 PM
  3. Maximum number of fields in a Form
    By Bhat59 in forum Forms
    Replies: 2
    Last Post: 10-30-2011, 06:45 AM
  4. Can't see minimum or maximum buttons?!?
    By Felix_too in forum Forms
    Replies: 2
    Last Post: 12-29-2010, 10:04 AM
  5. Replies: 2
    Last Post: 06-22-2010, 07:09 AM

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