How do I pass data to MS Word from App?
Posted on 1998-03-10
I use Delphi 2 Professional and would like to know how to pass data from a Delphi application to a MS Word document. I believe it is something to do with OLE but am not sure. I looked up the Word Help and it mentions fields but it isn't too clear as to what I should do. I need to input data into a template word doc and need to be able to put the data in the exact place in the document. For instance a persons' name and address would need to be put into the document at the left hand side and billing data within text in the doc etc. There would be standard text with only a few details changing that I'd pass to word.
Any help will be gratefully appreciated. Thanks in advance,