Jump to content

The "If... Then" Layout.


RossP

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

Recommended Posts

Awesome, Queue-man.

It worked. I'm not sure exactly how, but it worked. I guess I need to final figure out how to write real calculations.

I've always been under the impression that when you select a specific "operator" in the calculation window, FM Pro shows you a specific syntax which you have to follow.

In the case of "CASE" this is:

Case ( test1 , result1 [ , test2 , result2 , default result]... )

But you're Case function doesn't seem to follow this syntax. I think.

Alas, I am a musician by trade. I was never good a logic.

thanks again!

Link to comment
Share on other sites

"But you're Case function doesn't seem to follow this syntax. "

It in fact does follow syntax, it just appears that it doesn't because the calculation only includes one case,

Case( not IsEmpty(City) and not IsEmpty(State), "," [ , test2 , result2 , default result]... )

and if statment should work as well

if( not IsEmpty(City) and not IsEmpty(State),",",""

Link to comment
Share on other sites

This topic is 7232 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.