I know this is terribly basic, but I can't get by it.
I have created a formula named @citystzip. It is constructed of the three obvious fields: {tsworking.city} + ", " + {TSWorking.State} + " "+ {TSWorking.Zip}
But now I want the format to be different based on a country code in a field in the same table. comm2, a text field.
if tonumber({TSWorking.Comm2}) > 7 and tonumber({TSWorking.Comm2}) < 19 then
{TSworking.city} + " " + {TSWorking.State} + " "+ {TSWorking.Zip}
else
{TSworking.city} + ", " + {TSWorking.State} + " "+ {TSWorking.Zip}
Simple, eh? It returns nothing when I call @citystzip. I get no errors on Check.
Thanks for any help.
I have created a formula named @citystzip. It is constructed of the three obvious fields: {tsworking.city} + ", " + {TSWorking.State} + " "+ {TSWorking.Zip}
But now I want the format to be different based on a country code in a field in the same table. comm2, a text field.
if tonumber({TSWorking.Comm2}) > 7 and tonumber({TSWorking.Comm2}) < 19 then
{TSworking.city} + " " + {TSWorking.State} + " "+ {TSWorking.Zip}
else
{TSworking.city} + ", " + {TSWorking.State} + " "+ {TSWorking.Zip}
Simple, eh? It returns nothing when I call @citystzip. I get no errors on Check.
Thanks for any help.