I have a field called start_date and a field called duration. I also have a field called project_value.
What I am trying to accomplish is:
Insert into a table the value of the start date and the monthly increments up to the number that is the duration field.
Example: 5/1/2008 with duration of 3
Inserted value would be:
5/1/2008 into month1 field of table Forecast
6/1/2008 into month2 field of table Forecast
7/1/2008 into month3 field of table Forecast
The number of months inserted will not be more than 12months
I have fields month1 to month12 in my table Forecast. Duration field will change for each project.
Also I would need the project value to be inserted into the same table but divided by the duration number and split across each month.
Example: 75,000 with a duration of 3
Inserted value would be:
25,000 into month1value field of table Forecast
25,000 into month2value field of table Forecast
25,000 into month3value field of table Forecast
Project_ID is the unique identifer on the Forecast Table.
I just need a little help trying to put all of this together.
I appreciate any help. Thanks.
What I am trying to accomplish is:
Insert into a table the value of the start date and the monthly increments up to the number that is the duration field.
Example: 5/1/2008 with duration of 3
Inserted value would be:
5/1/2008 into month1 field of table Forecast
6/1/2008 into month2 field of table Forecast
7/1/2008 into month3 field of table Forecast
The number of months inserted will not be more than 12months
I have fields month1 to month12 in my table Forecast. Duration field will change for each project.
Also I would need the project value to be inserted into the same table but divided by the duration number and split across each month.
Example: 75,000 with a duration of 3
Inserted value would be:
25,000 into month1value field of table Forecast
25,000 into month2value field of table Forecast
25,000 into month3value field of table Forecast
Project_ID is the unique identifer on the Forecast Table.
I just need a little help trying to put all of this together.
I appreciate any help. Thanks.