Jump to content

This topic is 7848 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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.

Posted

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

smile.gif

Posted

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.

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.