michele Posted August 7, 2003 Posted August 7, 2003 Really weird, the case function gives me error messages (even when I try to use the filemaker example). Case calculations it accepted before also get an error message (when inserting "" as a result it says 'an operator is expected here' ex: Case(field=1,"",3) when I insert a number instead of "" it says 'This number can't be evaluated. What can possibly be wrong, I have the same problem with fmp5 and fmp6, I even reinstalled fmp5. Any answers?
IdealData Posted August 7, 2003 Posted August 7, 2003 Try using ";" (semi-colon) to delimit the calculation instead of "," (comma) I think FMP is seeing your commas as part of teh number, hence why it also complains about the number.
Lee Smith Posted August 7, 2003 Posted August 7, 2003 What language are you using. There are a differences between the US and European versions, one is as Mark pointed out the use of ";" instead of ",". I've noticed that in the French version, they use "Test" instead of "Case", (thanks UGO). HTH Lee
ernst Posted August 7, 2003 Posted August 7, 2003 Hi Michele, You can also try to add spaces before and after the numbers, i.e. Case(field= 1 ,"", 3 ) This usually does the trick for me. Regards, Ernst.
-Queue- Posted August 7, 2003 Posted August 7, 2003 Why not just use Case( not field = 1, 3 )? "" isn't necessary. And if field is a boolean, then you can omit the "= 1" portion too.
michele Posted August 8, 2003 Author Posted August 8, 2003 Ernst your trick did it! The reason why it changed was probably because I changed my keyboard settings. So every answer I got (also yours Queue) was very usefull. Thanks.
Recommended Posts
This topic is 7848 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