Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populating a word doc. with data from Delphi.

Status
Not open for further replies.

Danie

MIS
Jan 26, 2001
3
ZA
I need to populate a word template with data. I have no idea how to interface from Delphi to word. The user must be able to select the required template and record (containing the source data) from a list. Can this be done by means of bookmarks in the word doc.?

I have no idea where to start on this. Any advise will be great.
 
Hi,

You can do this with COM.
In order to provide you with an example, could you please tell me which version of Delphi you are using? Thanks.

Best Regards,

Thijs
 
I am using Delphi 5. Could you please tell me a bit more about COM?
 
There's a basic introduction to opening and feeding/reading information from Microsoft Word through Delphi 5 through this month's 'PC Plus' magazine - maybe this could be a starting point for you ?
Steve
 
Hi, in Delphi 5, in the component library in the main window of Delphi, there is a tabpage called 'Servers'. A component for accessing Word should be in there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top