G
Guest
I am trying to update more than one field in a record using text boxes on a
form as the source for the new data. Below is the code I am trying.
Dim RegistrationSQL as String
RegistrationSQL = "UPDATE tblRegisteredAndUniqueLabels SET
tblRegisteredAndUniqueLabels.RegisteredLabel =" & Me.RegisteredLabel & "
tblRegisteredAndUniqueLabels.CheckDigit =" & Me.CheckDigit & " " & "WHERE
((tblRegisteredAndUniqueLabels.UniqueLabel)=" & Me.UniqueLabel & ");"
I can get the statement to work if I update only one field but I can not get
the statement to work when I add more than one field.
Thank you for your help
Allan
form as the source for the new data. Below is the code I am trying.
Dim RegistrationSQL as String
RegistrationSQL = "UPDATE tblRegisteredAndUniqueLabels SET
tblRegisteredAndUniqueLabels.RegisteredLabel =" & Me.RegisteredLabel & "
tblRegisteredAndUniqueLabels.CheckDigit =" & Me.CheckDigit & " " & "WHERE
((tblRegisteredAndUniqueLabels.UniqueLabel)=" & Me.UniqueLabel & ");"
I can get the statement to work if I update only one field but I can not get
the statement to work when I add more than one field.
Thank you for your help
Allan