M
Mark Andrews
I have a a form "formAccounts"
with a subform "formAccountInvoices" (subform control is named
"formAccountInvoices1")
with a sub form "formAccountInvoiceLines" (subform control is named
"formAccountInvoiceLines1"
On formAccountInvoices I have a text box that has this as control source:
=nz([frmAccountInvoiceLines1].[Form]![txtInvoiceLineTotal])
In form view the textbox seems to work fine and pulls the total of the
invoice lines (txtInvoiceLineTotal is in the footer of the
formAccountInvoiceLines form)
If I switch formAccountInvoices to datasheet view I sometimes get an #Error
and sometimes get the correct value in the text box.
Should I be doing something differently?
Thanks in advance for any help,
Mark
with a subform "formAccountInvoices" (subform control is named
"formAccountInvoices1")
with a sub form "formAccountInvoiceLines" (subform control is named
"formAccountInvoiceLines1"
On formAccountInvoices I have a text box that has this as control source:
=nz([frmAccountInvoiceLines1].[Form]![txtInvoiceLineTotal])
In form view the textbox seems to work fine and pulls the total of the
invoice lines (txtInvoiceLineTotal is in the footer of the
formAccountInvoiceLines form)
If I switch formAccountInvoices to datasheet view I sometimes get an #Error
and sometimes get the correct value in the text box.
Should I be doing something differently?
Thanks in advance for any help,
Mark