Dear All,
Hope every thing going fine...
Am trying to run this query , but am getting :
Syntex Erro (missing operator) in query expression 'CASE code .....
My querys is :
where Qunatity is a string value and code is an automatic number .
Access 2007, Sql view
P.S.: i aslo tried for feild other than the code feild , since it could be a Key-word, error still exist
Any Ideas ...
Thnaks in advance
Hope every thing going fine...
Am trying to run this query , but am getting :
Syntex Erro (missing operator) in query expression 'CASE code .....
My querys is :
Code:
Update tb_details set quantity = CASE code when 8668 then "2" when 8669 then "3" when 8670 then "0" when 8671 then "2" END where code IN (8668, 8669, 8670, 8671) ;
Access 2007, Sql view
P.S.: i aslo tried for feild other than the code feild , since it could be a Key-word, error still exist
Any Ideas ...
Thnaks in advance
Comment