Slimjimmpc
Registered User.
- Local time
- Today, 15:25
- Joined
- Jan 22, 2011
- Messages
- 12
access 2000
The query is basically getting the user to enter a month/year and a number from 1 to 15 which would select a row within that month then also select every 15th record.
So if the user entered 01/2011 and the number 4 it would select all records in jan start at the 4th record then add 15 to the record number(19,34,49 etc) until the end of the month.
Using Like "*0" brings back every 10th record but i want to start based on the number the user would enter then select every 15th record onwards.
Guessing an easy way would be to use IF statements just don't know how to select one nth record then every 15th after that
The query is basically getting the user to enter a month/year and a number from 1 to 15 which would select a row within that month then also select every 15th record.
So if the user entered 01/2011 and the number 4 it would select all records in jan start at the 4th record then add 15 to the record number(19,34,49 etc) until the end of the month.
Using Like "*0" brings back every 10th record but i want to start based on the number the user would enter then select every 15th record onwards.
Guessing an easy way would be to use IF statements just don't know how to select one nth record then every 15th after that