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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a Diferent Word document on Report??

Status
Not open for further replies.

hardwork99

Instructor
Feb 3, 2005
23
DO
Hi all,
I need to know how could I print a diferente word document any time a user change or write a new document.
could not be automate because the user will write a new one with diferent words and when the user save it to disk print it with diferente fields form datab base.

Example:
On the datab

Cliente: John
City:Miami
Id:1234
this document is a contract that will be valid from 2 weeks from now(but the next time the user could change this text to a new one, it is always a contrat a could be about one page long with format letters)

Cliente: Angel
City:puerto Rico
Id:5678
this document is a new one contract that will be valid from 4 weeks from now(but the next time the user could change this text to a new one, it is always a contrat a could be about one page long with format letters).

Could not be in a MEMO field because, it have bold letter, italic and other format.

thanks


 
hardwork99

How is the user writing the document? In word? Are they always saved in the same directory? Depending on which version of VFP you are using, there ae API calls that will monitor the changes to a directory (
And from there you can use ShellExcecute to print your word document.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top