Hello Carsten,

Sunday, January 25, 2004, 4:40:21 PM, Carsten Th�nges wrote:

Well I finally got it to work for all situations where data does or does
not exist. I should have followed your example completely in the first
place. Lots of head scratching.

,----- [ final working macro ]
| %IF:%ABToNameSuffix<>"":"%ABToNameSuffix %ABToLastName
| "%-
| %IF:%ABToCompany<>"":"%ABToCompany
| "%-
| %IF:%ABToAddr<>"":"%ABToAddr
| "%-
| %IF:%ABToBusAddr<>"":"%ABToBusAddr
| "%-
| %IF:%ABToBusCity<>"":"%ABToBusCity%-%IF:%ABToBusState<>'':', 
%ABToBusState'%-%IF:'%ABToBusZIP'<>'':'  %ABToBusZIP':''
| "%-
`-----

CT> You see what I mean?

Correct me if I'm wrong. I think what you have showed me in TB macros is
simply a IF THEN statement where the "dash macro" (i.e. "next line"
macro) is skipped because it right after the second double quote in true
condition.  Correct?

-- 
Best regards,

Greg Strong

Using The Bat! v2.03.47 on Windows XP 5.1 Build  2600
Service Pack 1


________________________________________________________

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

Reply via email to