I am trying to use the Execute Method to update a table and I keep getting an syntax error message for my update statement. It's drining me crazy, I've gone over the code a dozen times and I can't find where I am going wrong. Can anyone help me find the problem. Here is my code:
strMemoSQL = "Update Memo " & _
"Set Memo = '" & txtMemo.Text & "' Where AcctNum=" & Val(txtAcctNum.Text)
conMemo.Execute strMemoSQL, , adCmdText
Thank you in advance for any assistance.
Timoteo
strMemoSQL = "Update Memo " & _
"Set Memo = '" & txtMemo.Text & "' Where AcctNum=" & Val(txtAcctNum.Text)
conMemo.Execute strMemoSQL, , adCmdText
Thank you in advance for any assistance.
Timoteo