D
dave
Hi
Im a bit of a newbie to Access so any help with this problem is gratefully
received.
I have a form with a subform in it. The subform called InvoiceDetail
contains several lines of detail for an invoice. Each line has an Amount
field. At the bottom of the subform I have a text box that provides a
running total. This was easy enough to create by using "=sum(Amount)" in a
field called subtotal. However on the main form, Invoice, as well as
having a date and invoice number, I also have a total field. This field is
exactly the same as the one on the subform but I cannot get the total to
appear. I have used the line =[InvoiceDetail subform].Form!subtotal but
when i run the form I get an error message #Name? I need this field to
write back into the Invoice table.
Any ideas?
Thanks
Im a bit of a newbie to Access so any help with this problem is gratefully
received.
I have a form with a subform in it. The subform called InvoiceDetail
contains several lines of detail for an invoice. Each line has an Amount
field. At the bottom of the subform I have a text box that provides a
running total. This was easy enough to create by using "=sum(Amount)" in a
field called subtotal. However on the main form, Invoice, as well as
having a date and invoice number, I also have a total field. This field is
exactly the same as the one on the subform but I cannot get the total to
appear. I have used the line =[InvoiceDetail subform].Form!subtotal but
when i run the form I get an error message #Name? I need this field to
write back into the Invoice table.
Any ideas?
Thanks