Hi all,
One more for today, I am trying to create a calculation for a field that creates a description. I know the calculation works exactly the way I want it to in a different program (filemaker pro) but I am having a hard time converting the syntax to AA.
This is what it looks like in FMP.
Case(IsEmpty(Name_First) and IsEmpty(Name_Last);Street_1; //result 1
IsEmpty ( Name_First) ;Name_Last & " " & Street_1 ; //result 2
IsEmpty (Name_Last) ;Name_First & " " & Street_1 ; //result 3
Name_First & " " & Name_Last & " " &Street_1 //default result
))
I can get as far as
CASE(ISNULL(NAME_FIRST).AND.ISNULL(NAME_LAST),STREET_1, //result 1
ISNULL(NAME_FIRST),NAME_LAST+" "+STREET_1, //result 2
ISNULL(NAME_LAST),NAME_FIRST+" "+STREET_1 //result 3
)
without any errors,l but cant figure out how to get the last default value or a fourth argument to work. I've tried
CASE(ISNULL(NAME_FIRST).AND.ISNULL(NAME_LAST),STREET_1, //result 1
ISNULL(NAME_FIRST),NAME_LAST+" "+STREET_1, //result 2
ISNULL(NAME_LAST),NAME_FIRST+" "+STREET_1, //result 3
ISNOTBLANK(NANE_FIRST).AND.ISNOTBLANK(NAME_LAST).AND.ISNOTBLANK(STREET_1),NAME_FIRST+" "+NAME_LAST+" "+STREET_1
)
It won't evaluate once I try the ISNOTBLANK which is a valid function (I think)
Also I have tried just using the top calculation that I can get to work (not give me an error msg) but it doesn't calculate on my form. How do I get it to automatically calculate as I fill in the three fields. I have created this calculation in the field rules on the tables tab but it doesn't auto calculate on my corresponding form.
I'm anxiously waiting for everything to start make sense in AA coming from FMP.
Thanks Again
Marc
One more for today, I am trying to create a calculation for a field that creates a description. I know the calculation works exactly the way I want it to in a different program (filemaker pro) but I am having a hard time converting the syntax to AA.
This is what it looks like in FMP.
Case(IsEmpty(Name_First) and IsEmpty(Name_Last);Street_1; //result 1
IsEmpty ( Name_First) ;Name_Last & " " & Street_1 ; //result 2
IsEmpty (Name_Last) ;Name_First & " " & Street_1 ; //result 3
Name_First & " " & Name_Last & " " &Street_1 //default result
))
I can get as far as
CASE(ISNULL(NAME_FIRST).AND.ISNULL(NAME_LAST),STREET_1, //result 1
ISNULL(NAME_FIRST),NAME_LAST+" "+STREET_1, //result 2
ISNULL(NAME_LAST),NAME_FIRST+" "+STREET_1 //result 3
)
without any errors,l but cant figure out how to get the last default value or a fourth argument to work. I've tried
CASE(ISNULL(NAME_FIRST).AND.ISNULL(NAME_LAST),STREET_1, //result 1
ISNULL(NAME_FIRST),NAME_LAST+" "+STREET_1, //result 2
ISNULL(NAME_LAST),NAME_FIRST+" "+STREET_1, //result 3
ISNOTBLANK(NANE_FIRST).AND.ISNOTBLANK(NAME_LAST).AND.ISNOTBLANK(STREET_1),NAME_FIRST+" "+NAME_LAST+" "+STREET_1
)
It won't evaluate once I try the ISNOTBLANK which is a valid function (I think)
Also I have tried just using the top calculation that I can get to work (not give me an error msg) but it doesn't calculate on my form. How do I get it to automatically calculate as I fill in the three fields. I have created this calculation in the field rules on the tables tab but it doesn't auto calculate on my corresponding form.
I'm anxiously waiting for everything to start make sense in AA coming from FMP.
Thanks Again
Marc
Comment