RossP Posted July 29, 2004 Share Posted July 29, 2004 Hi, Everybody! I Link to comment Share on other sites More sharing options...
-Queue- Posted July 29, 2004 Share Posted July 29, 2004 Sure, Case( not IsEmpty(City) and not IsEmpty(State), "," ) will work. Link to comment Share on other sites More sharing options...
RossP Posted July 29, 2004 Author Share Posted July 29, 2004 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 More sharing options...
benk Posted July 29, 2004 Share Posted July 29, 2004 "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 More sharing options...
bruceR Posted July 31, 2004 Share Posted July 31, 2004 I think more recent convention in mailings is to just eliminate the comma. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now