Firstly Sql Server requires single quotes to delimit text. Example:
VALUES ( " & apascidbox.Text & ",
needs to be:
VALUES ( '" & apascidbox.Text & "',
see you need to concatenate a single quote just before the closing double quote and just after the next openeing double-quote, do same for all text fields in the SQL string.
Also what is the data type in the SQL Table for your measurement fields ? is it bit? I'm not sure if ADO/SQL is able to implicitly convert boolean true/false to a bit 0/1.
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68