I get the error 3061 when I run the following
CurrentDb.Execute "qryremovepurchaseinvoicesplplinks"
However when I run it as
DoCmd.OpenQuery "qryremovepurchaseinvoicesplplinks"
I get no errors.
The query is as follows
UPDATE PurchaseInvoices SET PurchaseInvoices.PLIPmtShedNo = Null, PurchaseInvoices.PLIPmtSchedDate = Null
WHERE (((PurchaseInvoices.PLIPmtShedNo)=[Forms]![frmPaymentSchedule]![PLPNo]));
Any ideas??
CurrentDb.Execute "qryremovepurchaseinvoicesplplinks"
However when I run it as
DoCmd.OpenQuery "qryremovepurchaseinvoicesplplinks"
I get no errors.
The query is as follows
UPDATE PurchaseInvoices SET PurchaseInvoices.PLIPmtShedNo = Null, PurchaseInvoices.PLIPmtSchedDate = Null
WHERE (((PurchaseInvoices.PLIPmtShedNo)=[Forms]![frmPaymentSchedule]![PLPNo]));
Any ideas??