HELLO ALL,
I'm currently trying to setup a Crystal Report in the form of a letter. I have a problem where blank lines are concerned and want to suppress such fields. I'm using Goldmine fields to set this report.
the formula I was suggested to use was
>>>> global stringvar address1 := "";
>>>> global stringvar address2 := "";
>>>> global stringvar address3 := "";
>>>> if not isnull({contact1.address1}) or {contact1.address1}
>>>> <> "" then address1 := {contact1.address1} + chr(13);
>>>> if not isnull({contact1.address2}) or {contact1.address2}
>>>> <> "" then address2 := {contact1.address2} + chr(13);
>>>> if not isnull({contact1.address3}) or {contact1.address3}
>>>> <> "" then address3 := {contact1.address3} + chr(13);
>>>> address1 + address2 + address3
THIS FORMULA RETURNS A NULL FIELD IF ANY OF THE ADDRESS FIELDS ARE BLANK AND DOES NOT SUPPRESS!!
CAN ANYONE HELP ME?
THANKS
REENI
RD ASSOCIATES
I'm currently trying to setup a Crystal Report in the form of a letter. I have a problem where blank lines are concerned and want to suppress such fields. I'm using Goldmine fields to set this report.
the formula I was suggested to use was
>>>> global stringvar address1 := "";
>>>> global stringvar address2 := "";
>>>> global stringvar address3 := "";
>>>> if not isnull({contact1.address1}) or {contact1.address1}
>>>> <> "" then address1 := {contact1.address1} + chr(13);
>>>> if not isnull({contact1.address2}) or {contact1.address2}
>>>> <> "" then address2 := {contact1.address2} + chr(13);
>>>> if not isnull({contact1.address3}) or {contact1.address3}
>>>> <> "" then address3 := {contact1.address3} + chr(13);
>>>> address1 + address2 + address3
THIS FORMULA RETURNS A NULL FIELD IF ANY OF THE ADDRESS FIELDS ARE BLANK AND DOES NOT SUPPRESS!!
CAN ANYONE HELP ME?
THANKS
REENI
RD ASSOCIATES