kdjonesmtb2
Technical User
Microsoft ODBC SQL Server Driver SQL Server incorrect syntax near '1'
Line 101: "conn.Execute(sqlFromHTrio)
dim sqlFromHTrio
For x = 1 to 15
sqlFromHTrio = replace(replace(replace(sqlFromHTrioTemplate, "$ROW$", cstr(x)),"$CD$", cptsearchtxt),"$QTY$",txt_procedure_quantity)
conn.Execute(sqlFromHTrio)
Next
Line 101: "conn.Execute(sqlFromHTrio)
dim sqlFromHTrio
For x = 1 to 15
sqlFromHTrio = replace(replace(replace(sqlFromHTrioTemplate, "$ROW$", cstr(x)),"$CD$", cptsearchtxt),"$QTY$",txt_procedure_quantity)
conn.Execute(sqlFromHTrio)
Next