Hi all, Hope someone can help / point me in the right direction with this problem.
I have a "save" button that is suppose to write to a database, but when i click on the button i get this error message:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: ","]'
/admin/stores/index.asp, line 380
here is the code at line 380:
Sub UpdateStoreDetailsRow()
sSQL = "EXEC spUpdateStoreDetails " & iStoreID & ",'" & sOpensMonday & "'" &_ (line 380)
",'" & sClosesMonday & "'" &_
",'" & sOpensTuesday & "'" &_
",'" & sClosesTuesday & "'" &_
",'" & sOpensWednesday & "'" &_
",'" & sClosesWednesday & "'" &_
",'" & sOpensThursday & "'" &_
",'" & sClosesThursday & "'" &_
",'" & sOpensFriday & "'" &_
",'" & sClosesFriday & "'" &_
",'" & sOpensSaturday & "'" &_
",'" & sClosesSaturday & "'" &_
",'" & sOpensSunday & "'" &_
",'" & sClosesSunday & "'" &_
",'" & sTelNumber & "'" &_
",'" & sFaxNumber & "'" &_
",'" & sEmailAddress & "'" &_
",'" & sSocialProfileAddress & "'" &_
",'" & sPostalAddress & "'" &_
"," & iWinID & "'"&_
oDB.execute(sSQL)
End Sub
Any help with this would be great.
Kind regards
MG