I get this error when I run the code below and can't figure out what the problem is.
Any help would be much appreciated!
Thanks
Any help would be much appreciated!
Thanks
Code:
If ContactInv > 0 And Payment > 0 And DogInv = 0 Then
CurrentDb.Execute "UPDATE tblInvoices SET DogID = CurrentDogID" _
& " WHERE InvoiceID = " & CurrentInvoiceID & ";"
End If