March 28, 200718 yr This is probably a easy one, stops returning false on color after I add the second color condition. For example always returns true if either "Make" is true. If I take out one of the color conditions, then works fine. If [((Car::Make = "Geo")or(Car::Make = "VW")) and ((Car::Color ≠ "Silver")or(Car::Color ≠ "Black"))
March 28, 200718 yr Author If the user picks from the drop down menu either "Geo" or "VW" and any other color other then "Silver" or "Black" they will recive a custom dialog box that explains we cant have that car in stock.
March 28, 200718 yr At first glance: "Silver" ≠ "Black". It seems you want: ( Make = "Geo" or Make = "VW" ) and ( Color ≠ "Silver" AND Color ≠ "Black")
March 28, 200718 yr Author Ok, yea... that makes sense.. I also simplfied my quotes to match yours, and great! it works. Thank you.
March 28, 200718 yr Good. I would also suggest you re-think your strategy of hard-coding data into scripts and calculations, and use relationships instead. What if Geo becomes available in red? Using relationships, you can even limit the user's color choices based on the selection of the make (search the forums for "+conditional +value +list").
Create an account or sign in to comment