Hello,
I am stack a bit here. I have a table called NANFINAL and in where I am trying to update the filed called InvoiceNumberQB with two criterias that are DateRemit and Code throught the form . I placed the form called Updateinvoice and put there three text boxes:txtInvoice,txtCode and txtDate and command button . In command button click event I typed code the below:
Dim strSQL
strSQL = "UPDATE NANFINAL " _
& "SET InvoiceNumberQB = " & Forms!UpdateInvoices.txtInvoices & "" _
& "Where Code = " & Forms!UpdateInvoices.txtCode & ""
& " Where remitDate = #" & Form!UpdateInvoices.txtDate & "#"
Access doesn't bug it as a mistake , but updating is not working .
Can somebody point me out what probelm is here.
Thank you in advance,
The Best Reagrds,
BorisGomel