General information
Category:
Coding, syntax & commands
I don't know how to make this work:
lcfyr =cursor.fyr
lcflag = 1 && this is a "bit" data type in SQL server
cSQL="INSERT INTO Table (fyr,Flag)"
cSQL=cSQL + " VALUES ('"+lcfyr+"',"+lcflag+")"
Now when I check the variable in DEBUG lcflag is 1 numeric, but it desn't insert, I get a operator/oparand error
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only