S
Sammie
In a field's afterupdate event, I have the following
command: Me!UnitPrice = DLookup("UnitPrice",
"ProductsInvoiced", strFilter)
If the UnitPrice is null, I get an error saying "The object
doesn't contain the automation object "Invoice Status
subform". Any clues what this means? I do have such a
subform on my form, but it is not referenced in this
procedure at all.
I would like to add another instruction, if the unitprice
is null, to go to the ProductsInvoiced table (via the form
called "ProdInvoiceDblClk") and update the unit price.
What code do I need and where do I put it in relation to my
Dsum statement?
Thanks
Sammie
command: Me!UnitPrice = DLookup("UnitPrice",
"ProductsInvoiced", strFilter)
If the UnitPrice is null, I get an error saying "The object
doesn't contain the automation object "Invoice Status
subform". Any clues what this means? I do have such a
subform on my form, but it is not referenced in this
procedure at all.
I would like to add another instruction, if the unitprice
is null, to go to the ProductsInvoiced table (via the form
called "ProdInvoiceDblClk") and update the unit price.
What code do I need and where do I put it in relation to my
Dsum statement?
Thanks
Sammie