BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Serial correspondence in Word

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Oliver Townshend
Guest





PostPosted: Mon Sep 26, 2005 11:07 pm    Post subject: Re: Serial correspondence in Word Reply with quote



Quote:
How can I do serial correspondence up to this pattern in the Word.
'Name', 'Adress', 'Title', 'MayName' are fields from table in Delphi.

Mail Merge?

Oliver Townshend



Back to top
Crazy Horse's crazier lit
Guest





PostPosted: Tue Sep 27, 2005 2:13 pm    Post subject: Re: Serial correspondence in Word Reply with quote



"Paweł Łańcucki" <pawel.lancucki (AT) lanco (DOT) pl> wrote

Quote:

How can I do serial correspondence up to this pattern in the Word.
'Name', 'Adress', 'Title', 'MayName' are fields from table in Delphi.

I don't know what you mean by serial correspondence, but I use Office
Partner components to replace values in a "home-made template" like so:

var
MainDoc: TOpWordDocument;
...
MainDoc.Replace(ATagVal, sReplaceValue, True, wdroReplaceAll);

--

Download the latest draft (version 1.22, updated 9/5/2005) of
"STILL CASTING SHADOWS: Two American Families 1620-2006"
by Blackbird Crow Raven: http://cc.borland.com/ccweb.exe/listing?id=23106



Back to top
Oliver Townshend
Guest





PostPosted: Tue Sep 27, 2005 9:24 pm    Post subject: Re: Serial correspondence in Word Reply with quote



Quote:
I want to print leters with same text but with different headline.

I have no idea what you are trying to do. A whole lot of letters in a row
with the same name and address? Try Mail Merge.

Oliver Townshend



Back to top
Oliver Townshend
Guest





PostPosted: Wed Sep 28, 2005 10:23 am    Post subject: Re: Serial correspondence in Word Reply with quote

Quote:
Look at my sample and try understand what I'm trying to do.

You're trying to do a mail merge. I'm not saying it again.

If you want assistance in how to do one I'm willing to help. Any good Word
manual can assist as well, and IIRC the Delphi manuals discuss OLE
automation of a Mail Merge.

Oliver Townshend



Back to top
Oliver Townshend
Guest





PostPosted: Wed Sep 28, 2005 11:01 am    Post subject: Re: Serial correspondence in Word Reply with quote

Quote:
Thanks, I will try Mail Merge.
Do you have some sample?

Try http://support.microsoft.com/kb/q229310/

or

http://www.djpate.freeserve.co.uk/AutoWord.htm

which has tonnes of useful stuff, including a sample project at
http://www.djpate.freeserve.co.uk/UsingWordMMerge.zip

Oliver Townshend



Back to top
George Birbilis
Guest





PostPosted: Wed Sep 28, 2005 9:23 pm    Post subject: Re: Serial correspondence in Word Reply with quote

can do that with mail merge

Quote:
No.
I want to print leters with same text but with different headline.


Użytkownik "Oliver Townshend" <oliveratzipdotcomdotau> napisał w
wiadomości news:43387eb4 (AT) newsgroups (DOT) borland.com...
How can I do serial correspondence up to this pattern in the Word.
'Name', 'Adress', 'Title', 'MayName' are fields from table in
Delphi.

Mail Merge?

Oliver Townshend






Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.