Hi
I have a form with a sub-form embedded within it.
On the main form, I have 2 date fields, when a user enters the dates - the subform updates and shows records applicable within those dates.
One of the fields in the subform is a Currency field.
What I would like to do is to show the sum value for all values in this currency field.
If I create a text box on the main form and reference it as:
=Forms!frmInvoices!subPDSCalc!TotalVariation
it shows the first value from the first record.
If I try and put a sum in the above statement - i just get #Error.
Please can someone show me the correct syntax to use?
Many thanks in advance.
Daz
I have a form with a sub-form embedded within it.
On the main form, I have 2 date fields, when a user enters the dates - the subform updates and shows records applicable within those dates.
One of the fields in the subform is a Currency field.
What I would like to do is to show the sum value for all values in this currency field.
If I create a text box on the main form and reference it as:
=Forms!frmInvoices!subPDSCalc!TotalVariation
it shows the first value from the first record.
If I try and put a sum in the above statement - i just get #Error.
Please can someone show me the correct syntax to use?
Many thanks in advance.
Daz