B
Brook
Good Day all...
I am trying to run an update query from a Subform on a mainform.
I am wanting to run the qrypdate on the close of an invoice report.
below is my code for my update query, but when I try to run it just from a
command button the system asks me for each value: "Enter Parameter Value"?
UPDATE tblinventory SET tblinventory.invoicenumber =
Forms!frminvoicedetails_Subform!invoicenumber, tblinventory.rugstatus =
Forms!frminvoicedetails_Subform!invoicetype, tblinventory.clientlocation =
Forms!frminvoicedetails_Subform!clientname
WHERE
(((tblinventory.OrderNumber)=Forms!frminvoicedetails_Subform!ordernumber));
Does anyone have any suggestions?
Thanks,
Brook
I am trying to run an update query from a Subform on a mainform.
I am wanting to run the qrypdate on the close of an invoice report.
below is my code for my update query, but when I try to run it just from a
command button the system asks me for each value: "Enter Parameter Value"?
UPDATE tblinventory SET tblinventory.invoicenumber =
Forms!frminvoicedetails_Subform!invoicenumber, tblinventory.rugstatus =
Forms!frminvoicedetails_Subform!invoicetype, tblinventory.clientlocation =
Forms!frminvoicedetails_Subform!clientname
WHERE
(((tblinventory.OrderNumber)=Forms!frminvoicedetails_Subform!ordernumber));
Does anyone have any suggestions?
Thanks,
Brook