Hi Bill,

@19-Jun-2003, 08:30 -0400 (13:30 UK time) Bill McCarthy [BM] in
mid:[EMAIL PROTECTED] said

BM> In both tbudl and tbtech, Anirban Das <[EMAIL PROTECTED]>
BM> presented a problem report.  ...

... <snip>

BM>     %AttachFile=_c:\a.txt_%- %If:"2"="2":"2 == 2":"2 <> 2"%-

... <snip>

BM> Now change the 2 line template by cutting the first line and
BM> pasting it to replace the true clause in the second line:

BM>     %If:"2"="2":"%AttachFile=_c:\a.txt_":"2 <> 2"%-

BM> Creating a new mail with this new template, the file is not
BM> attached and no text is included in the new mail.

BM> This appears to be an error -
... <snip>

There is a workaround!

(and yes, I agree, this is certainly unexpected behaviour).

Create QTs called 'a', 'b', etc. as required:

,------/ a \------
| %AttachFile=_c:\a.txt_
`-----8<-----

,------/ b \------
| %AttachFile=_c:\b.txt_
`-----8<-----

%If:"2"="2":"%QINCLUDE=_a_":"2 <> 2"%-

It works.

-- 
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.63 Beta/11 on Windows XP 5.1.2600 Service Pack 1
________________________________________________________

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

Reply via email to