Hi,
Access XP form and table. I am trying to write this update code and get an error. I am not good with writing sql just going off what I found on google. InUse is a Yes/No field and LSN is the serial number they selected in a combo box.
CurrentDb().Execute "UPDATE [tblHardware] SET AutoNo = '" & strAutoNo & "', InUse = True, Where SerialNo = LSN"
Thanks, Lisa
Access XP form and table. I am trying to write this update code and get an error. I am not good with writing sql just going off what I found on google. InUse is a Yes/No field and LSN is the serial number they selected in a combo box.
CurrentDb().Execute "UPDATE [tblHardware] SET AutoNo = '" & strAutoNo & "', InUse = True, Where SerialNo = LSN"
Thanks, Lisa