Hi everyone,
I'm attempting to use the following VBA code to print a record on a form:
Me![Paid] = True
Me.Refresh
DoCmd.OpenReport IIf(SalesInvoice, "InvoiceSalesR", "InvoiceJobR"), acViewPreview, , "InvoiceID=" & InvoiceID
The form InvoiceActiveList that the record is on uses a query...