Hello, I am using the code below to check if an invoice has already been put into the table.
Even when one is in it returns 0 - any ideas?
Thanks Mark
Even when one is in it returns 0 - any ideas?
Thanks Mark
Code:
MsgBox DCount("Inv_Paid_Date", "qry_Invoice_Check", "[Inv_Pman_Cont_ID_Link] = " & Me.txt_Pman_Cont_ID & " AND [Inv_Invoice_No] = '" & Me.txt_Invoice_Number & "'")