Hello Roelof Otten, @Sonntag, 07. November 2004, 23:52 you wrote:
> Hallo Ralph, > On Sun, 7 Nov 2004 12:06:57 +0100GMT (7-11-2004, 12:06 +0100, where I > live), you wrote: R>> So, is there a way to create an "if"-macro? I mean, if the R>> corresponding fields are filled out correctly use %ABTOFIRSTNAME R>> %ABTOLASTNAME, if not us %TONAME... > The easiest way would be to use %ABToName instead of %ABToFirstName > and %ABToLastName, that way you can use the build in shortcut: > %ABToName="%ToName" > Of course you can use %ABToFirstName="%ToFName" and > %ABToLastName="%ToLName", but %ToFName and %ToLName give the same > result when the To header contains only one name part. > There is the option to use an %If macro like this > %IF:"%ABToFirstName%ABToLastName"="":"%ToName":"%ABToFirstName %ABToLastName" > but this hurts my feelings for esthetics. (Apart from forgetting about > any middle names that might be very important for the addressee.) thank you for your help. another thing i forgot before is, that i want to add a prefix like "Mr." or "Ms." if available and no empty space if not. can you help me here as well? -- Regards, Ralph ________________________________________________ Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

