trichview.com

trichview.support




Re: Dymanic Mail Merge Template


Return to index


Author

Message

Jonas Bilinkevicius

Posted: 02/20/2004 16:54:45


Actually I use the code from both demo as in my table there is a string

type fields and blob(rvf) field. Everything works fine but the question

is how to create dynamic Template so that I could place into the

template not only selected record fields like in MM and MM2 demo but all

records from the table. It should be similar to report.


As I understand everything should work so:


You load template into TRVF and place the fields value of first record. The

you

move cursor to the end of document. Then you do not load the template

but use InsertRVFFromStream instead to insert the same template to the end

of

document, then load the fields of second record and etc. Until the end of

Table.


I now how to do that, but  I would like to hear the suggestions how to make

it in most optimal way.



"Sergey Tkachenko" <[email protected]> wrote in message

news:[email protected]...

> Do you actually use MailMerge2 (not MailMerge) example as a sample?

> Using MailMerge2 makes sense only if field values are not plain text.

>

> > 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.

>

>

>

>





Powered by ABC Amber Outlook Express Converter