I have read various posts on this subject but still can not get mine to work. Basically I have a Main form (Forecastform) with a subform (Forecast_Subform). In the footer of the subform I have a unbound textbox (TGWP_Sub) that calculates a subtotal of the records that are displayed. In the main form I have another unbound text box (TGWP_Main) that I want to display the value of "TGWP_Sub" In the load event of the Main form I have the following code:
Expand|Select|Wrap|Line Numbers
- Me.TGWP_Main = Me!Subform1.Form![TGWP_Sub]
My first question is:
Am I missing something in my vb code.
My second question is:
Since my subtotal can change based on the records will the code in the load event be dynamic so that if changes are made, then my TGWP_Main control will display the latest calculation. If not, what would be the best approach to achieving that?
Any assistance would be appreciated.
Keith.