I have a form that you can add and edit records. Part of the edit record code keeps returning an error "syntax error on Update" here is a piece of the update code below:
strSQL = "UPDATE tbloutbound "
strSQL = strSQL & "SET Call_File_No= '" & Me!txtCallFileNum & "'"
strSQL = strSQL & ", Date= #" & Me.txtDte & "#"
strSQL = strSQL & ", Points= " & Me![txtpts]
strSQL = strSQL & ", Score= " & Me![txtScore]
strSQL = strSQL & ", Comments= '" & Me!txtComments & "'"
strSQL = strSQL & "' WHERE txtCallFileNum='" & [CboFind] & "'"
MsgBox strSQL
Debug.Print strSQL
db.Execute strSQL
Thanks for any help possible.
Joe
strSQL = "UPDATE tbloutbound "
strSQL = strSQL & "SET Call_File_No= '" & Me!txtCallFileNum & "'"
strSQL = strSQL & ", Date= #" & Me.txtDte & "#"
strSQL = strSQL & ", Points= " & Me![txtpts]
strSQL = strSQL & ", Score= " & Me![txtScore]
strSQL = strSQL & ", Comments= '" & Me!txtComments & "'"
strSQL = strSQL & "' WHERE txtCallFileNum='" & [CboFind] & "'"
MsgBox strSQL
Debug.Print strSQL
db.Execute strSQL
Thanks for any help possible.
Joe