Hello Roelof Otten,

@Montag, 08. November 2004, 01:34 you wrote:

> Hallo Ralph,

> On Mon, 8 Nov 2004 00:44:58 +0100GMT (8-11-2004, 0:44 +0100, where I
> live), you wrote:

R>> thank you for your help. another thing i forgot before is, that i want
R>> to add a prefix like "Mr." or "Ms." if available and no empty space if
R>> not. can you help me here as well?

> That can be done with the %ABToGender macro, it gives three possible
> results: 0=unknown, 1=male, 2=female
> You could use something like this:

> %If:"%ABToGender"="2":"Ms. ":""%-
> %If:"%ABToGender"="1":"Mr. ":""%-
> %If:"%ABToGender"="0":"Mystical creature of unknown gender ":""%-


i'm  new  to  TB  and all those macros confuse me a little... A little
example: i have John (male) and Jane (female) in my adress book in the
same  group.  Now  according to their sex or their name prefix (in the
adressbook)  i want to salutate them, either with e.g. "Dear Mr. John,
" and "My dearest Ms. Jane, ".

Can  you  help  me  set  that  up? Maybe write me a template (just the
salutation part) for this example?

As far as i understood right now, the
sex-field  (male,  female,  none) acts as an "if"-clause, right. and i
can use it with %ABToGender, got that too. but what is the name prefix
for then?

-- 
Regards,
Ralph



________________________________________________
Current version is 3.0.1.33 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to