Hi Everyone,
I wonder if you can help. I have a form with a subform on it which contains several fields. The sub form is based on a table called "Works" which can have several records for each one record on the main form. The problem is I need several fields on the main form displaying the totals of all the associated records on the sub form.I.E. A field "TOTAL OF ACTUALS" on the main form would display the sum of the "ACTUAL" field related to the record on the main form. I tried assigning a query based on the table "WORKS" to the controlsource of a text box but can't get it to work. Could anyone help?
TIA
Quinny
I wonder if you can help. I have a form with a subform on it which contains several fields. The sub form is based on a table called "Works" which can have several records for each one record on the main form. The problem is I need several fields on the main form displaying the totals of all the associated records on the sub form.I.E. A field "TOTAL OF ACTUALS" on the main form would display the sum of the "ACTUAL" field related to the record on the main form. I tried assigning a query based on the table "WORKS" to the controlsource of a text box but can't get it to work. Could anyone help?
TIA
Quinny