G
Guest
This is a follow up to a post made on May 24. Thank you to those who
responded to my request for help. However this still has not yet come
together for me.
I am updating table fields with form data. With some help my code is now:
SQL = "UPDATE TCURRENT " & _
"SET CurrentLabRate = " & Forms!FESC!Rate, " & _
"SET CurrentMatInd = " & Forms!FESC!cmbNewMatInd, & ";" & _
"SET CurrCPI = " & Forms!FESC!CboNewCPIInd " & _
"WHERE TCURRENT.SMInvID = " & Forms!FESC![SM Inv ID] & ";"
The fields I am attempting to update are all numeric (currency and double).
The first syntax error I am getting is in the 1st SET line at the comma after
the "Rate" field.
Can someone please advise where my error is?
Thank you
responded to my request for help. However this still has not yet come
together for me.
I am updating table fields with form data. With some help my code is now:
SQL = "UPDATE TCURRENT " & _
"SET CurrentLabRate = " & Forms!FESC!Rate, " & _
"SET CurrentMatInd = " & Forms!FESC!cmbNewMatInd, & ";" & _
"SET CurrCPI = " & Forms!FESC!CboNewCPIInd " & _
"WHERE TCURRENT.SMInvID = " & Forms!FESC![SM Inv ID] & ";"
The fields I am attempting to update are all numeric (currency and double).
The first syntax error I am getting is in the 1st SET line at the comma after
the "Rate" field.
Can someone please advise where my error is?
Thank you