M
Meirav
I have a table tblWeek with the following fields:
WeekID (AutoNum)
Mon (Date Field)
Tue (Date Field)
Wed (Date Field)
..
..
..
Sun (Date Field)
I would like to have a form with the following parameters:
txtNumberOfWeeks (Number)
txtFromMonDate (Date)
And have a button that when pushed, a program will create records in my
tblWeek for the number of weeks asked and populate the dates from the
txtFromMonDate onwards.
For Example:
txtNumberOfWeeks (Number) = 3
txtFromMonDate (Date) = 06/20/2005
Will create:
WeekIDNo Mon Tue Wed Thu Fri Sat Sun
====== === === === === === === ===
<next no> 06/20/2005 06/21/2005 06/22/2005 ... ... ... 06/26/2005
<next no> 06/27/2005 06/28/2005 06/29/2005 ... ... ... 07/03/2005
<next no> 07/04/2005 07/05/2005 07/06/2005 ... ... ... 07/10/2005
Any Ideas?
WeekID (AutoNum)
Mon (Date Field)
Tue (Date Field)
Wed (Date Field)
..
..
..
Sun (Date Field)
I would like to have a form with the following parameters:
txtNumberOfWeeks (Number)
txtFromMonDate (Date)
And have a button that when pushed, a program will create records in my
tblWeek for the number of weeks asked and populate the dates from the
txtFromMonDate onwards.
For Example:
txtNumberOfWeeks (Number) = 3
txtFromMonDate (Date) = 06/20/2005
Will create:
WeekIDNo Mon Tue Wed Thu Fri Sat Sun
====== === === === === === === ===
<next no> 06/20/2005 06/21/2005 06/22/2005 ... ... ... 06/26/2005
<next no> 06/27/2005 06/28/2005 06/29/2005 ... ... ... 07/03/2005
<next no> 07/04/2005 07/05/2005 07/06/2005 ... ... ... 07/10/2005
Any Ideas?