GUIDO22
Registered User.
- Local time
- Today, 02:53
- Joined
- Nov 2, 2003
- Messages
- 515
I have a report that will generate the current list of employees including the (following) week number and the week ending date. When the report is run, the users enters the date for which the report is to run from. The results it generates are correct for the week following the date the user entered.
However, my users want the ability to enter 'x' weeks as an additional parameter so that they can print off 'x' number of weeks in one hit? I am not too sure of the best way to do this.
The code will need to present a list of 'x' weeks results to a report used to print labels. eg. : when todays date = 5/1/05, weeks = 3: query will display
Employee: Joe
Week No.2
Week ending : 16/1/05
Employee: Joe
Week No.3
Week ending : 23/1/05
Employee: Joe
Week No.4
Week ending : 31/1/05
for each staff member .........
Presently, my report uses a call to a function at 'Module' level to generate the week ending date, the week no. is generated at 'Query' level.
Any ideas on the best way to do this?
NB.This information is used to generate staff labels - to avoid gaps in the label sheets the list needs to be continuous i.e. (not looping sending 'x' print jobs to the printer).
TIA
Guido
However, my users want the ability to enter 'x' weeks as an additional parameter so that they can print off 'x' number of weeks in one hit? I am not too sure of the best way to do this.
The code will need to present a list of 'x' weeks results to a report used to print labels. eg. : when todays date = 5/1/05, weeks = 3: query will display
Employee: Joe
Week No.2
Week ending : 16/1/05
Employee: Joe
Week No.3
Week ending : 23/1/05
Employee: Joe
Week No.4
Week ending : 31/1/05
for each staff member .........
Presently, my report uses a call to a function at 'Module' level to generate the week ending date, the week no. is generated at 'Query' level.
Any ideas on the best way to do this?
NB.This information is used to generate staff labels - to avoid gaps in the label sheets the list needs to be continuous i.e. (not looping sending 'x' print jobs to the printer).


TIA
Guido