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
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