Hi
I have another post at the moment but this one is important too.
I have a form that calculates the yield using these steps:
1. User selects the location and characteristics of the site
2. The density automatically shows
3. The percentage is from the first tab on the form
4. The user selects the Type of Mixed Use and the mixed use ratio automatically shows
5. The new site area is calculated and the yield is then calculated
This form (Frm_Yield) is a subform of the primary form (Frm_Primary) and works the way I want it to.
However, I am now trying to create a report so that it shows a TOTAL Yield calculation for all the records in the database. This is where I am stuck with why it wont show any figures and how to calculate it, but I think I know why it wont work even if I try to make calculations in the report.
I opened Tbl_Yield that holds all the information for Frm_Yield and noticed that it wasn't storing the yield and new_site_area calculations. I think this is because I am performing calculations for these fields in the control source. However, if I move this to an afterUpdate event or something similar, it wont do the calculations.
In order for me to create a report, I think this needs to be sorted first, so if anyone has any hints about what to do, I would love to hear them!
The db is attached as a zip file. Thanks
I have another post at the moment but this one is important too.
I have a form that calculates the yield using these steps:
1. User selects the location and characteristics of the site
2. The density automatically shows
3. The percentage is from the first tab on the form
4. The user selects the Type of Mixed Use and the mixed use ratio automatically shows
5. The new site area is calculated and the yield is then calculated
This form (Frm_Yield) is a subform of the primary form (Frm_Primary) and works the way I want it to.
However, I am now trying to create a report so that it shows a TOTAL Yield calculation for all the records in the database. This is where I am stuck with why it wont show any figures and how to calculate it, but I think I know why it wont work even if I try to make calculations in the report.
I opened Tbl_Yield that holds all the information for Frm_Yield and noticed that it wasn't storing the yield and new_site_area calculations. I think this is because I am performing calculations for these fields in the control source. However, if I move this to an afterUpdate event or something similar, it wont do the calculations.
In order for me to create a report, I think this needs to be sorted first, so if anyone has any hints about what to do, I would love to hear them!
The db is attached as a zip file. Thanks