Can't get this to work for me any way I try.. I had it before and lost the DB. I need to have a query that will pull every 10th record from another query or table....Anyone know how please help me...
Because there is no guaranteed default ordering of records in a table, the interpretation of "every 10-th record" is not well defined or is defined only in the context of some "ORDER BY" specification.
If you had a field containing numeric values (an autonumber for example) then you could use SQL like
Code:
Select AnumField From tbl
Where (AnumField MOD 10) = 0
Which returns every record where AnumField is a multiple of 10 (not quite the same thing.)
For a discussion of this issue see Rudy Limebeck's site at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.