Hi,
I think that I can help you, since I am doing alot of calculations based on a range of dates. Here is the strategy I used to get this to work:
1) I created a form where the user can select a range of dates. In your case, you can create a table containing valid weeks. For instance, this table might have a field called WeekStartDate, based on a Monday starting date: 12/16/2002 (the record before that might be 12/09/2002).
Let's call this listbox on your form to be lstWeekStartDate.
2) In your query, I presume that you have a date field that contains the date that the student was called. In the criteria box for that field, simply right click and select "Build". Scroll down and select "Forms", then select the form name, then select the listbox (lstWeekStartDate). The code inside the criteria box should be as follows:
Between [Forms]![frmYourForm]![lstWeekStartDate] and ([Forms]![frmYourForm]![lstWeekStartDate] + 7)
Essentially, you are using the date field from the table to select only those records that have a range of dates starting with the date selected by the user, plus 7 more days. Does this make sense?
Your form would then have a command button to run the report
HTH,
Randy Smith
California Teachers Association