PC Review


Reply
Thread Tools Rate Thread

How to create Word .doc, then save as attachment?

 
 
Patti
Guest
Posts: n/a
 
      14th Aug 2008
I am trying to create a Word document, after filling in some bookmarks
from my DB, and then save the Word .doc in an attachment field. Many
years ago, I wrote the code to create, edit, save and retrieve the
Word doc, so I don't have a problem with that. Now I am using Access
2007, and I would like to take advantage of the attachment field type,
but this new field type is, admittedly, confusing me. Do I have to
save the Word doc first, then save it in the DB? If I do that, it
seems that there is a file left in the directory that will no longer
be used because the document will then be within the DB. All I want
to do is programmatically open Word, drop in some data, let the user
edit the Word document, then save it in the DB. I don't want to keep
track of all those document files in the directory. Am I asking too
much?!? LOL I hope someone can point me in the right direction
before I spend a horrendous amount of time coding in the wrong
direction.

Thanks so much!

Patti
 
Reply With Quote
 
 
 
 
dch3
Guest
Posts: n/a
 
      15th Aug 2008
Haven't had the wonderful pleasure of working with the RIBBON of Torment and
Torture... (my subtle way of saying I haven't worked with O2007
personally)... but...

From what I've read the file will have to be saved to a disk and then
imported. But you can always save it to a Temp folder and then delete it
afterward.

"Patti" wrote:

> I am trying to create a Word document, after filling in some bookmarks
> from my DB, and then save the Word .doc in an attachment field. Many
> years ago, I wrote the code to create, edit, save and retrieve the
> Word doc, so I don't have a problem with that. Now I am using Access
> 2007, and I would like to take advantage of the attachment field type,
> but this new field type is, admittedly, confusing me. Do I have to
> save the Word doc first, then save it in the DB? If I do that, it
> seems that there is a file left in the directory that will no longer
> be used because the document will then be within the DB. All I want
> to do is programmatically open Word, drop in some data, let the user
> edit the Word document, then save it in the DB. I don't want to keep
> track of all those document files in the directory. Am I asking too
> much?!? LOL I hope someone can point me in the right direction
> before I spend a horrendous amount of time coding in the wrong
> direction.
>
> Thanks so much!
>
> Patti
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I save word doc attachment with email as attachment? =?Utf-8?B?RGF2ZSBH?= Microsoft Outlook Discussion 2 15th May 2007 12:12 AM
Cannot save the attachment.Can't create file:Book1.xls. =?Utf-8?B?bGtidWx1dA==?= Microsoft Excel Misc 2 16th Mar 2007 12:41 AM
a 10 k word doc attachment save as ...become 13M =?Utf-8?B?aXRjb20=?= Microsoft Outlook Installation 1 15th Mar 2007 04:39 AM
Can i create a rule to save an attachment from a specific sender? =?Utf-8?B?UmF0TW9ua2V5?= Microsoft Outlook Installation 1 19th Jul 2006 09:39 PM
How to create custom action to auto save attachment William Xu Microsoft Outlook Interoperability 1 11th Sep 2003 03:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:38 AM.