MySQL Statement Problem (incorrect DOUBLE value)
Hi All,
The line below adds a comma and text to the end of the varchar field in MS SQL...
UPDATE thetable
SET
thefield = thefield+','+'#trim(Form.newitem)#'
Where id = 1
... but errors in MySQL 5 ...
Error Executing Database Query.
Data truncation: Truncated incorrect DOUBLE value: ','
BTW: I tried: thefield = thefield & ',' & '#trim(Form.newitem)#' --- but still errors out
Q: Is there a better way to write this statement for MySQL so it won't have an error?
