can anybody see the problem with this code!??@
Run time error '3078'
The microsoft access database engine cannot find the input table or query 'false'.Make sure it exists and that its name is spelled correctly.
Run time error '3078'
The microsoft access database engine cannot find the input table or query 'false'.Make sure it exists and that its name is spelled correctly.
Code:
Set db = CurrentDb()
Set ctl = Forms!frmVerifiedBy.Form!LotVerified
If ctl = True Then
SQL = "update tblExcelLocation set LotVerifiedDate = Now, LotVerifiedBy = '" & Replace(str3, " '", "''") & "',' " & Comments = Replace(str4, "'", "''") & "' WHERE LotVerified = true And ID = '" & Replace(str5, " '", "''") & "'"
[COLOR="Red"] CurrentDb.Execute SQL[/COLOR]
Else
MsgBox "Please select the checkbox "
End If