Most Access databases do NOT have consecutive record numbers, which was Crowley16's point, I'm sure.
One way (tested)
Code:
Select *
from tbl
where (((tbl.recordNumber mod 5) - [COLOR=red]3[/color]) = 0);
where 3 is your starting position number. Starting position must be between 0 and 4 for a set of 5. If you wanted to start further in the table, add AND tbl.recordNumber > n to your selection criteria.
Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
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.