Hallo Greg,

On Sun, 25 Jan 2004 14:42:50 -0600GMT (25-1-04, 21:42 +0100, where I
live), you wrote:

GS> How do you eliminate blank lines in a macro when the data may or may not
GS> exist in the address book?

GS> I can NOT use "%-" in the false condition because it must be at the end
GS> of the line in order to continue the next line on the current line.

Insert the new line when the next data exists and skip the new line at
the end of the %if macro, would look like:

%IF:%ABToCompany<>"":"%ABToCompany":""%-
%IF:%ABToAddr<>"":"
%ABToAddr":""%-
%IF:%ABToBusAddr<>"":"
%ABToBusAddr":""

--
Groetjes, Roelof


________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to