L
Lucy
I have entered the following expression as the control source of a textbox
(total cost) on a subform(Invoicesubform):
=sum[stock quantity] * [unit cost]
In the footer of this subform i have made a text box(ordersubtotal) with the
control source being:
=sum [(Total Cost)]
This should show the sub-total of all the total costs. I then want this to
appear on the main form. again i created a textbox and entered the following
expression as the control source:
=Forms![Invoicesubform]![ordersubtotal]
when the main form is shown in form view the sub-total text box shows the
following:
#NAME?
Have I done something wrong? I have based these expressions from the
Northwind Sample Database.
I have tried putting different expressions in using different methods and
the same error message shows!
Lucy
(total cost) on a subform(Invoicesubform):
=sum[stock quantity] * [unit cost]
In the footer of this subform i have made a text box(ordersubtotal) with the
control source being:
=sum [(Total Cost)]
This should show the sub-total of all the total costs. I then want this to
appear on the main form. again i created a textbox and entered the following
expression as the control source:
=Forms![Invoicesubform]![ordersubtotal]
when the main form is shown in form view the sub-total text box shows the
following:
#NAME?
Have I done something wrong? I have based these expressions from the
Northwind Sample Database.
I have tried putting different expressions in using different methods and
the same error message shows!
Lucy