A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Rows Retrieved In A Query



 
 
Thread Tools Display Modes
  #1  
Old November 22nd, 2006, 06:23 PM posted to microsoft.public.access.queries
Tanya
external usenet poster
 
Posts: 169
Default Rows Retrieved In A Query

Is there a way to limit the number of rows retrieved in a query?
--
Tanya
  #2  
Old November 22nd, 2006, 06:39 PM posted to microsoft.public.access.queries
Klatuu
external usenet poster
 
Posts: 7,074
Default Rows Retrieved In A Query

SELECT TOP 50 ...
Will return the first 50 records based on the ORDER BY that meet the
criteria. It can return more than 50 records if there are ties in criteria.

"Tanya" wrote:

Is there a way to limit the number of rows retrieved in a query?
--
Tanya

  #3  
Old November 22nd, 2006, 07:57 PM posted to microsoft.public.access.queries
Tanya
external usenet poster
 
Posts: 169
Default Rows Retrieved In A Query

It worked great, thanks.
--
Tanya


"Klatuu" wrote:

SELECT TOP 50 ...
Will return the first 50 records based on the ORDER BY that meet the
criteria. It can return more than 50 records if there are ties in criteria.

"Tanya" wrote:

Is there a way to limit the number of rows retrieved in a query?
--
Tanya

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.