How do I limit the returns from a query?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jesse Jones
    New Member
    • Jan 2011
    • 51

    How do I limit the returns from a query?

    I would like to limit the number of returns from my query to 350. Can anyone please tell me how to do this is Access 2010?

    (SQL or Design View)

    Thanks.
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    SELECT TOP 350 .......ORDER BY 'filter'

    Comment

    • Jesse Jones
      New Member
      • Jan 2011
      • 51

      #3
      Duh. Thanks.

      Any way I can get this to divide into x groups of 250?

      Comment

      • Jesse Jones
        New Member
        • Jan 2011
        • 51

        #4
        350*. Sry.

        Comment

        • Rabbit
          Recognized Expert MVP
          • Jan 2007
          • 12517

          #5
          You'll have to use a subquery in the where clause that returns top 350 unique IDs of a group.

          Comment

          • Jesse Jones
            New Member
            • Jan 2011
            • 51

            #6
            Actually, I just had to type "350" in the returns box in the query setup group in the ribbon at the top. Duh. Just hadn't seen it.

            Thanks for the tips!

            Comment

            Working...