Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

Save an attatchment (olAtt.SaveAsFile)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Henzy Kay - 16 Jan 2006 13:10 GMT
When i use olAtt.SaveAsFile to save a file, it allways asks me if i want to
save the file (confirmation).

As this is an automated procedure, i do not want to be asked if i want to
save it.

Question: Is it possible to add something, so that nothing is beiing asked?

Thanx

Hans Komst

vb: 'save the attachment
olAtt.SaveAsFile FILE_PATH & item.EntryID & "_" & olAtt.FileName  ......
Douglas J Steele - 16 Jan 2006 15:33 GMT
As far as I'm aware, there isn't a SaveAsFile option in Access, the database
product that's part of Office Professional, and the subject of this
newsgroup.

What is olAtt? (i.e.: how have you instantiated it?) Perhaps its SaveAsFile
has a parameter that will let you suppress the prompt.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> When i use olAtt.SaveAsFile to save a file, it allways asks me if i want to
> save the file (confirmation).
[quoted text clipped - 10 lines]
> vb: 'save the attachment
> olAtt.SaveAsFile FILE_PATH & item.EntryID & "_" & olAtt.FileName  ......
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.