B
BZeyger
Hello,
I have a problem which I am trying to solve. I have an access database in
which I have a number of projects. Each project has various financial
information associated with it.
One of the projects has a table (Table1) that contains Actual Financial
information.
The same project also has a table (Table2) that contains Estimated Financial
information.
The various amounts are monthly.
An Example would be:
Table1: ID, Actual_Jan_09, Actual_Feb_09, Actual_March_09, etc.
Table2: ID, Estimate_Jan_09, Estimate _Feb_09, Estimate _March_09, etc.
I have these items on a form. The header of the form contains the project
name while the detail section contains 2 subforms. One subform showing the
Actual amounts and another subform showing the estimated amounts. There is
also a command button and a date fields in the detail section of the form.
This is where it gets tricky.
The Estimated amounts can have multiple records per project. The initial
estimated costs would display the different estimated costs. However, if the
user selects a certain date, then it would either display an estimated amount
or an actual amount. This sounds confusing. Here is an example
Jan09 Feb09 Mar09 April09
Actual amounts 1: $15 $20 $25 $30
Initial Estimated 1: $10 $11 $15 $20
If the user selects a month of Feb 09, the new estimated amounts would be:
Jan09 Feb09 Mar09 April09
$15 $11 $15 $20 $15 came from the actual table
If the user selects a month of March09, the new estimated amounts would be:
Jan09 Feb09 Mar09 April09
$15 $20 $15 $20 $15 and $20 came from the actual table
It should take the actual cost of the fields prior to the date selected. And
continue to use the estimated amount s to the dates after.
How would I go about doing this?
I have a problem which I am trying to solve. I have an access database in
which I have a number of projects. Each project has various financial
information associated with it.
One of the projects has a table (Table1) that contains Actual Financial
information.
The same project also has a table (Table2) that contains Estimated Financial
information.
The various amounts are monthly.
An Example would be:
Table1: ID, Actual_Jan_09, Actual_Feb_09, Actual_March_09, etc.
Table2: ID, Estimate_Jan_09, Estimate _Feb_09, Estimate _March_09, etc.
I have these items on a form. The header of the form contains the project
name while the detail section contains 2 subforms. One subform showing the
Actual amounts and another subform showing the estimated amounts. There is
also a command button and a date fields in the detail section of the form.
This is where it gets tricky.
The Estimated amounts can have multiple records per project. The initial
estimated costs would display the different estimated costs. However, if the
user selects a certain date, then it would either display an estimated amount
or an actual amount. This sounds confusing. Here is an example
Jan09 Feb09 Mar09 April09
Actual amounts 1: $15 $20 $25 $30
Initial Estimated 1: $10 $11 $15 $20
If the user selects a month of Feb 09, the new estimated amounts would be:
Jan09 Feb09 Mar09 April09
$15 $11 $15 $20 $15 came from the actual table
If the user selects a month of March09, the new estimated amounts would be:
Jan09 Feb09 Mar09 April09
$15 $20 $15 $20 $15 and $20 came from the actual table
It should take the actual cost of the fields prior to the date selected. And
continue to use the estimated amount s to the dates after.
How would I go about doing this?