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

Insert link to a word file

Status
Not open for further replies.

h2mhd

Programmer
Feb 20, 2008
40
CA
Hi

Im Bulding a application tha transfert the content of a database to word. Bye that way i generate a word file and autosave it into the directory.

So if i open a quotation like 244 the word file generated will be q244.rtf

What i want to do is to let the user to choose two action
- open the already generated file
or
- regenerate the word file that will flush the old one.

wo i wondering how i can dot those things:

- insert the link into my database the path of the file??
- and after that put a button on my form that will appear only if the path field isn't empty??
- and finally if i click this button i want to open the file with the path i have already??

so like that if the user have already generated the word file a button will appear on the form that indicates him and if he want he can click on it to open the file.

Can someone help me to do this?

Thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top