Is there any way to use the SQL case statement logic to create a column in Access? I am using Access 2000 & the following is the statemnt I am trying to add as a column.
CASE WHEN (T1."ProductClass" IN ('5A','5B','5C','5D','5E','5F','5G','5H','5J','5K','5L','5M','5N','5P','5R','5T','5U','5V')) THEN ('HARDENERS')
WHEN (T1."ProductClass" IN ('5W','5X','5Y','5Z','50')) THEN ('RESINS') WHEN (T1."ProductClass" IN ('51','52','53','59')) THEN ('DILUENTS')
WHEN (T1."ProductClass" = '54') THEN ('CUSTOM')
WHEN (T1."ProductClass" = '57') THEN ('OILS') ELSE ('OTHER') END
Any help is appreciated.
CASE WHEN (T1."ProductClass" IN ('5A','5B','5C','5D','5E','5F','5G','5H','5J','5K','5L','5M','5N','5P','5R','5T','5U','5V')) THEN ('HARDENERS')
WHEN (T1."ProductClass" IN ('5W','5X','5Y','5Z','50')) THEN ('RESINS') WHEN (T1."ProductClass" IN ('51','52','53','59')) THEN ('DILUENTS')
WHEN (T1."ProductClass" = '54') THEN ('CUSTOM')
WHEN (T1."ProductClass" = '57') THEN ('OILS') ELSE ('OTHER') END
Any help is appreciated.