Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Abbreviated queries

Status
Not open for further replies.

bjdobs

Programmer
Mar 11, 2002
261
0
0
CA
Access 2K on p2p W2k Pro network.

Is it possible to specify a query that would only return N lines/records? I have a fairly large table several thousand entries which in turn are related to other tables. I need to scroll through either an unfiltered or filtered subset of these records. Problem is everytime I apply a filter it seems like the recordset is being completly populated which causes a major hesitation across this small p2p network (This data is shared between several users)

In code I think I could do a Find first unique followed be a loop of N Find Next ... not sure how efficient this would be ... a query would be preferable.
 
SELECT TOP N ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top