User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 375,236 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,021 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 672 | Replies: 3 | Solved
Reply
Join Date: Jan 2008
Location: Philippines, Zamboanga City
Posts: 57
Reputation: werks is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
werks's Avatar
werks werks is offline Offline
Junior Poster in Training

Help How do i LIMIT in Access

  #1  
Feb 11th, 2008
Hi there. how can i limit the value of records in Access. Is there a LIMIT function in Access like in MySQL? tnx in advance..
Kenneth
"Better Than Yesterday"
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,161
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 58
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: How do i LIMIT in Access

  #2  
Feb 11th, 2008
select TOP 10 somecolumn FROM blah...
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Join Date: Jan 2008
Location: Philippines, Zamboanga City
Posts: 57
Reputation: werks is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
werks's Avatar
werks werks is offline Offline
Junior Poster in Training

Re: How do i LIMIT in Access

  #3  
Feb 11th, 2008
tnx hollystyle.. Is it possible to get the remaining results in the query after using the TOP?

e.g.
Select TOP 10 qryOPAC.* FROM qryOPAC
It returns 20 records, since im using the TOP 10 it will only return the first 10 records, right? Now how about the remaining 10 records what happen to them?


Kenneth
Kenneth
"Better Than Yesterday"
Reply With Quote  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,161
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 58
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: How do i LIMIT in Access

  #4  
Feb 11th, 2008
what are you trying to do. Page the data? I don't follow what you want.

TOP just stops after the limit is reached, that's it. AFAIK that'a all LIMIT does in MySql as well.
Last edited by hollystyles : Feb 11th, 2008 at 11:06 am.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MS Access and FileMaker Pro Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the MS Access and FileMaker Pro Forum

All times are GMT -4. The time now is 4:19 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC