In a form, I've the following fields:
Month, Year, BegTransDate, EndTransDate
When Month and Year are updated, it fills in the BegTransDate and EndTransDate.
Month = August
Year = 2006
BegTransDate = 01/08/06
EndTransDate = 31/08/06
I've added a "Week" combo box, listing week 1, week 2 etc and which is the criteria for the query that calcuates the week number. My problem is that I want it to always show Monday to Sunday (eg. Aug 06 Week 1 only shows Tuesday 01/08/06 to Sunday 06/08/06).
Therefore, I was wanting to have the "Week" combo:
1. List the correct number of weeks for the month
2. On Update, update BegTransDate and EndTransDate in the following date range:
August 2006 - Week 1 = 31/07/06 to 06/08/06 etc
August 2006 - Week 4 = 28/08/06 to 03/09/06
September 2006 - Week 1 = 04/09/06 to 10/09/06
Can anyone help me out?
thanks
Ronnie
Month, Year, BegTransDate, EndTransDate
When Month and Year are updated, it fills in the BegTransDate and EndTransDate.
Month = August
Year = 2006
BegTransDate = 01/08/06
EndTransDate = 31/08/06
I've added a "Week" combo box, listing week 1, week 2 etc and which is the criteria for the query that calcuates the week number. My problem is that I want it to always show Monday to Sunday (eg. Aug 06 Week 1 only shows Tuesday 01/08/06 to Sunday 06/08/06).
Therefore, I was wanting to have the "Week" combo:
1. List the correct number of weeks for the month
2. On Update, update BegTransDate and EndTransDate in the following date range:
August 2006 - Week 1 = 31/07/06 to 06/08/06 etc
August 2006 - Week 4 = 28/08/06 to 03/09/06
September 2006 - Week 1 = 04/09/06 to 10/09/06
Can anyone help me out?
thanks
Ronnie