selenau837
Can still see y'all......
- Local time
- Today, 09:00
- Joined
- Aug 26, 2005
- Messages
- 2,206
I have a table I am trying to update with the following SQL string. Everytime it runs it says: "No value given for one or more required parameters."
I am not sure why I am getting this error. The SQL is as follows:
This code was written already, I added the strEmpID to be updated.
strEmpID is in the tblDocuments. It was a new field I added.
What did I do wrong? Should I have declared it somewhere in the SQL?
I am not sure why I am getting this error. The SQL is as follows:
Code:
"UPDATE tblDocuments INNER JOIN tblDocumentReview " & _
"ON tblDocuments.intDocumentID = tblDocumentReview.intDocumentID " & _
"SET dtmMembershipRelease = #" & Me.txtReleaseDate.value & "#, strEmpID = " & Me.txtEmpId.value & " " & _
"WHERE tblDocumentReview.intEntryNumber = " & Me.txtEntryNumber.value
This code was written already, I added the strEmpID to be updated.
strEmpID is in the tblDocuments. It was a new field I added.
What did I do wrong? Should I have declared it somewhere in the SQL?