Hello Carsten,
Sunday, January 25, 2004, 4:40:21 PM, Carsten Th�nges wrote:
CT> --8<---------------cut here---------------start------------->8---
CT> %IF:%ABToNamePrefix<>"":"%ABToNamePrefix %ABToLastName
CT> "%-
CT> %IF:%ABToCompany<>"":"%ABToCompany
CT> "%-
CT> %IF:%ABToAddr<>"":"%ABToAddr
CT> "%-
CT> [...]
CT> --8<---------------cut here---------------end--------------->8---
CT> You see what I mean?
I think what you are doing is simply creating an IF:Then statement with
NO false condition, correct?
I've tried it and it works, but know I'm having problems with the last
line when data exists. When no data exists on the last line I get 2
blank lines. When there is data I only get 1 blank line. I would like
to always have 2 blank lines.
,----- [ QT now ]
| %IF:%ABToNamePrefix<>"":"%ABToNamePrefix %ABToLastName
| "%-
| %IF:%ABToCompany<>"":"%ABToCompany
| "%-
| %IF:%ABToAddr<>"":"%ABToAddr
| "%-
| %IF:%ABToBusAddr<>"":"%ABToBusAddr
| "%-
| %IF:%ABToBusCity<>"":"%ABToBusCity%-%IF:%ABToBusState<>'':',
%ABToBusState'%-%IF:'%ABToBusZIP'<>'':' %ABToBusZIP':''":""%-
`-----
If | no data | true condition then put all this stuff here when it exists
| false then nothing and start next line
I've worked on this for sometime. I think it is about time I put it away
for awhile. My productivity on it is shot. Thanks for the help!
--
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