Hi,
I need to create an expression in an MS Access query to return values depending on the data in other fields, easy to achieve with IF statements in XL but new ball game in Access...
I need to achieve the following expression in a query:
If field 'Stage' has the word "Won" in part of it then return "Won" if not then if field 'Committed' = Y then return "committed" and if not then if field "Probability" >=50 then return "up" and if not then if field 'probability' <50 then return "WIP"
Any help on this is most greatfully received.
I need to create an expression in an MS Access query to return values depending on the data in other fields, easy to achieve with IF statements in XL but new ball game in Access...
I need to achieve the following expression in a query:
If field 'Stage' has the word "Won" in part of it then return "Won" if not then if field 'Committed' = Y then return "committed" and if not then if field "Probability" >=50 then return "up" and if not then if field 'probability' <50 then return "WIP"
Any help on this is most greatfully received.