Newbies gianmigoni Posted August 12, 2011 Newbies Posted August 12, 2011 I'm trying to set a logical function using this parameters: Case(Quantity ≤ 99 and Code="CFI-WW";"One"; Quantity > 100 ≤ 199 and Code="CFI-WW"; "Two"; Quantity ≥ 200 and Code="CFI-WW";"Three") It works perfect with the first two but if I enter 200 or more nothing changes. Thanks Gian
Newbies gianmigoni Posted August 12, 2011 Author Newbies Posted August 12, 2011 Problem solved: Case (Quantity = 0;"0";Quantity ≤ 99 and Code="CFI-WW" ; "310";Quantity ≥ 100 and Quantity ≤ 199 and Code="CFI-WW";"285";Quantity ≥ 200 and Code="CFI-WW";"279")
Vaughan Posted August 12, 2011 Posted August 12, 2011 You don't need the "Quantity > 100" part in the statement. Case ( Quantity = 0;"0"; Quantity ≤ 99 and Code="CFI-WW" ; "310"; Quantity ≤ 199 and Code="CFI-WW";"285"; Code="CFI-WW";"279" ) What happens if the quantity >0 and code <> CFI-WW?
Recommended Posts
This topic is 4885 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now