Results 1 to 3 of 3
  1. #1
    an1bone is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    9

    Linking attachments to forms that are being updated outside of access

    Hello,

    I need to add attachments (pdfs, Word documents, JPEGs) that will automatically update to my form when revisions are made to them in their outside folders (not within Access). For example, I have op sketches that are being edited outside of Access and saved under the same name, so I need to make sure that these newly edited documents are automatically being linked and uploaded to my Access form to see. These attachments were added to a field in one of my tables, and I can pull it up in the form. My problem is that the attachments that I pull up are not the currect version; they are the original version that I added into the table. I tried making the Default Picture Type as "Linked" instead of "Embedded", but this isn't working. What can I do so that the current revisions are being shown without having to edit each attachment within the table?



    Thank you!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Can't. The image files would have to be replaced in the attachment. For Word, open the file from the attachment field and edit the document then close it. Otherwise, if you edit an external Word document then have to replace the attachment.

    'Default Picture Type' won't work with PDF and Word files.

    Alternative is to not embed files in attachment field. Just save path and file name into text field.

    Embedding files can quickly use up Access 2GB size limit, especially if they are large files.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,369
    If you are storing files in a table, I am quite certain there is no way to have them reflect changes to the original. This would violate the whole concept of file storage if it could. What you should be doing is storing the path in a table and calling up the file when needed. If you are trying to show data from this file in a form, the process needs to 'refresh' that data first, but I doubt that is what you are doing if you're also dealing with non-data files such as images. You can use the path in the hyperlink function (which does have limitations) or using the SHELL or SHELLEXECUTE functions, which are more powerful but more difficult to work with.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 08-26-2014, 09:55 AM
  2. Forms arent displaying updated data
    By alexandervj in forum Access
    Replies: 3
    Last Post: 06-12-2014, 03:53 PM
  3. Attachments to Forms
    By PWood in forum Forms
    Replies: 4
    Last Post: 02-01-2012, 08:29 AM
  4. Forms Freezes After Record Is Updated
    By toonz in forum Forms
    Replies: 1
    Last Post: 10-04-2011, 01:09 PM
  5. New to access need help linking forms
    By hch1970 in forum Forms
    Replies: 6
    Last Post: 09-28-2011, 03:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums