Hi All. Here's a question I have not been able to get my mind around.
On a form I have a checkbox for each month (12), a checkbox for each
week (4) and a checkbox for each day (7). If a user checks Jan and
week 1 and Tues, I want to calculate the actual date for that
day(assuming the current year), and if they check July and leave the
week and day check boxes as they are I want to calculate the date from
that combination.
The check boxes can have multiples per type, meaning more than 1 month
can be selected, and more than 1 week can be selected and more than 1
day can be selected, and a loop will roll through the boxes in
month-week-day order and calculate the date for each combination and
write it to a file.
For example, if Jan and Jun are checked and week 1 and week 3 are
checked and Tues is checked the code should return the actual date for
each.
Any ideas on the best practice to accomplish this?
Thanks in advance.
Rod
On a form I have a checkbox for each month (12), a checkbox for each
week (4) and a checkbox for each day (7). If a user checks Jan and
week 1 and Tues, I want to calculate the actual date for that
day(assuming the current year), and if they check July and leave the
week and day check boxes as they are I want to calculate the date from
that combination.
The check boxes can have multiples per type, meaning more than 1 month
can be selected, and more than 1 week can be selected and more than 1
day can be selected, and a loop will roll through the boxes in
month-week-day order and calculate the date for each combination and
write it to a file.
For example, if Jan and Jun are checked and week 1 and week 3 are
checked and Tues is checked the code should return the actual date for
each.
Any ideas on the best practice to accomplish this?
Thanks in advance.
Rod