Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / April 2008

Tip: Looking for answers? Try searching our database.

Only 10 records returned in a query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jon - 13 Apr 2008 04:35 GMT
Hi
I have a query which returns 90 + records how can I put a condition so I
only see the first 10 records?
the SQL I have is

SELECT quFirstTimePass2.Job, Count(quFirstTimePass2.OrderNo) AS NumberOff
FROM quFirstTimePass2
GROUP BY quFirstTimePass2.Job
ORDER BY Count(quFirstTimePass2.OrderNo) DESC;
Regards

Jon
Tom van Stiphout - 13 Apr 2008 05:34 GMT
Have you tried the TOP predicate?
-Tom.

>Hi
>I have a query which returns 90 + records how can I put a condition so I
[quoted text clipped - 8 lines]
>
>Jon
jon - 13 Apr 2008 05:49 GMT
No
I will try

Thanks

Jon

> Have you tried the TOP predicate?
> -Tom.
[quoted text clipped - 11 lines]
>>
>>Jon
jon - 13 Apr 2008 05:55 GMT
Done and dusted
Thanks learnt something new

Jon

> Have you tried the TOP predicate?
> -Tom.
[quoted text clipped - 11 lines]
>>
>>Jon
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.