If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Limit Rows returned in a query
Is there any way to limit the number of rows returned in a query, I have some
conditions but I only want the first 5 rows returned |
#2
|
|||
|
|||
Limit Rows returned in a query
Nigel wrote:
Is there any way to limit the number of rows returned in a query, I have some conditions but I only want the first 5 rows returned Sure, just open the query properties page and set the relevant property. Or, switch to SQL View and add the words "TOP 5" immediately after the word "SELECT" -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM" |
#3
|
|||
|
|||
Limit Rows returned in a query
Nigel wrote:
Is there any way to limit the number of rows returned in a query, I have some conditions but I only want the first 5 rows returned Check the TOP predicate in Help - Table of contents - Microsoft Jet SQL Reference -- Marsh MVP [MS Access] |
Thread Tools | |
Display Modes | |
|
|