Having trouble with functions
Posted: Wed Dec 12, 2007 10:41 pm
I haven't done much fancy stuff in custom reports so I'm seeking help.
I'm trying to print address1, address2, city+state+zip. If address2 is not empty, I want to add ", " to the end of address1, then print address2. And always printing a ", " + city-state-zip, all on the same line.
I'm pulling my hair out on this function:
ALLTRIM(Qmf_temp.address)+IIF(NOTEMPTY(Qmf_temp.address2),", "+ALLTRIM(Qmf_temp.address2),)+", " Qmf_temp.city_zip
I'm getting missing commas, and missing ), and/or syntax errors... grrrrr
If you know functions, would you please give me a hand here? Thanks.
I'm trying to print address1, address2, city+state+zip. If address2 is not empty, I want to add ", " to the end of address1, then print address2. And always printing a ", " + city-state-zip, all on the same line.
I'm pulling my hair out on this function:
ALLTRIM(Qmf_temp.address)+IIF(NOTEMPTY(Qmf_temp.address2),", "+ALLTRIM(Qmf_temp.address2),)+", " Qmf_temp.city_zip
I'm getting missing commas, and missing ), and/or syntax errors... grrrrr
If you know functions, would you please give me a hand here? Thanks.