trichview.com

trichview.support




Dymanic Mail Merge Template


Return to index


Author

Message

Jonas Bilinkevicius

Posted: 02/19/2004 17:31:33


I am creating a report and use MailMerge2 demo like a sample.

While iterating all Records in the table I

have to duplicate MailMerga template. How to do that?

Sergey, could you create MailMerge demo with dynamic template?

Because now all MailMerge demos works only with static templates.

I think it will be useful for most users of TRV.


For example:


Template:


----------------

Name <MergeTag1>

Age <MergeTag2>

----------------


Code:


while not table.eof do

Begin

....Working with template

table.Next;

end;


Result in TRV:


----------------

Name Jon

Age 25

----------------

Name Terry

Age 26

---------------

Name Peter

Age 45

----------------

Name Casper

Age 15

----------------





Powered by ABC Amber Outlook Express Converter