D
Dom
I am trying to set the value of a True/False field to False using the
following code and I keep getting a 'Syntax Error in UPDATE Statement'
message.
strSQL = "UPDATE tbl_Versions SET Current = 0 WHERE VersionIndex=" & loldver
cn.Execute strSQL
I have tried changing to 0 to thew word FALSE amongst other things and I
still get the same error.
I have searched for the correct FALSE value when executing a SQL statement
in ADO but can find nothing.
Could anyone tell me if I'm doing something wrong?
Thanks in advance
Dom
following code and I keep getting a 'Syntax Error in UPDATE Statement'
message.
strSQL = "UPDATE tbl_Versions SET Current = 0 WHERE VersionIndex=" & loldver
cn.Execute strSQL
I have tried changing to 0 to thew word FALSE amongst other things and I
still get the same error.
I have searched for the correct FALSE value when executing a SQL statement
in ADO but can find nothing.
Could anyone tell me if I'm doing something wrong?
Thanks in advance
Dom