i am trying to do two things -
first, i want to format an address bldg number to have no decimals, no comma separator,
then, i want a formula that will return only the street name if the bldg number field is empty, otherwise return the concatenated address.
this formula -
Local StringVar StNumber := CStr({WKWOWHYD.WHY_AD_BDG},0,""
Local StringVar StName :={WKWOWHYD.WHY_AD_STR};
If (Len(StNumber)>0) then StNumber&" "&StName
Else If (Len(StNumber)<0) then StName
Else '';
says 'no errors found', but i get nothing if there is no bldg number. if there is one, i do get the concatenated address. where is my error?
i have tried numerous formulas and they give the same result even though they have 'no errors found'.
thanks, w.
first, i want to format an address bldg number to have no decimals, no comma separator,
then, i want a formula that will return only the street name if the bldg number field is empty, otherwise return the concatenated address.
this formula -
Local StringVar StNumber := CStr({WKWOWHYD.WHY_AD_BDG},0,""
Local StringVar StName :={WKWOWHYD.WHY_AD_STR};
If (Len(StNumber)>0) then StNumber&" "&StName
Else If (Len(StNumber)<0) then StName
Else '';
says 'no errors found', but i get nothing if there is no bldg number. if there is one, i do get the concatenated address. where is my error?
i have tried numerous formulas and they give the same result even though they have 'no errors found'.
thanks, w.