strSQL = "INSERT INTO Table1 (Scores, S_Index) VALUES ('" & Score.Text & "')"
How do I alter this to accept a variable as well.
index = 2.4
name = "string"
H_index = 7.4
I have tried a few different parameter styles and keep getting errors??strSQL = "INSERT INTO Table1 (S_Index) VALUES ('"& index & ")"
I still get the error ???
I took your advice and sent this
strSQL = "INSERT INTO Table1 (name) VALUES (' sName ')"
I still get the error ???
Any help?
How do I alter this to accept a variable as well.
index = 2.4
name = "string"
H_index = 7.4
I have tried a few different parameter styles and keep getting errors??strSQL = "INSERT INTO Table1 (S_Index) VALUES ('"& index & ")"
I still get the error ???
I took your advice and sent this
strSQL = "INSERT INTO Table1 (name) VALUES (' sName ')"
I still get the error ???
Any help?