Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

The "If... Then" Layout.


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

Recommended Posts

Posted

Sure, Case( not IsEmpty(City) and not IsEmpty(State), "," ) will work.

Posted

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!

Posted

"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),",",""

Posted

I think more recent convention in mailings is to just eliminate the comma.

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