April 10, 200124 yr This probably SOOOOO easy.. but.. I have the need to have the database make a few decisions. So, I figure CASE is the way. However, I can get it work when there are two tests, results in the Calc but no more. In particular... Case(Shipped VIA="PYRAMID", MATCH SHIP CODE::Courier Charge, Shipped VIA="RUSH 4 U", MATCH SHIP CODE::Courier Charge, Shipped VIA="FEDEX", MATCH SHIP CODE::Courier Charge,"0") Shipped Via is a pull down value list MATCH SHIP CODE relates to Customers database the default result occurs when the user enters Pickup (or anything other than PYRAMID or RUSH 4 U) in the Shipped VIA field. The last test for FEDEX is always ignored... Is there a limit to the number of tests and result pairs that CASE can handle? Thanks a diaperload in advance.... null
April 10, 200124 yr Author BEFORE anyone hurts their head working on this... (red-faced) you must actually *HAVE* some data in the field for it to return a result! I was testing with a record that had no value in the fedex field.. wimpering away.....
Create an account or sign in to comment