M
mg
using access-2007
i have been trying to use the SELECT CASE statement, as given in many online
references, but keep getting a syntax error (missing operator).....
SELECT Vendor.name,
CASE Vendor.[name]
WHEN 'A&A Ventures'
THEN 'true'
ELSE 'false'
END AS appliances
FROM Vendor;
i couldnt use the IF statement, so i found lots of references to using
'case', but i cant make it work.
i have been trying to use the SELECT CASE statement, as given in many online
references, but keep getting a syntax error (missing operator).....
SELECT Vendor.name,
CASE Vendor.[name]
WHEN 'A&A Ventures'
THEN 'true'
ELSE 'false'
END AS appliances
FROM Vendor;
i couldnt use the IF statement, so i found lots of references to using
'case', but i cant make it work.