Results 1 to 3 of 3
  1. #1
    wmc326 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2017
    Posts
    3

    Attachment Viewing


    Hi All,

    I'm an intern building a database for my companies website and have a (probably simple) question about attachment viewing and editing. I know you can view, edit and add attachments within access itself, but is it necessary to include a button if it were to be exported to a webpage?

    I'll include a picture of the database for further clarification.

    Thanks in advance!
    Click image for larger version. 

Name:	db.jpg 
Views:	22 
Size:	97.6 KB 
ID:	29271

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    To view in web page, yes need VBA to export the attachment to external location. Then I expect would have to reference it in HTML code.

    What are these attachments?

    However, editing the file in web page is another matter, don't know how that could be done.

    Embedded files in db can quickly use up Access 2GB limit. Why store in table and not just leave as external 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
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Agree with June7
    Avoid embedding files as attachments in Access db - it will rapidly grow in size & slow down dramatically well before you hit the 2GB limit at which point it will become unopenable

    If you instead have a field with the path to the file, you can open it in one of 2 ways:
    a) use code to open the file in the default external application e.g. docx in Word ; pdf in Acrobat or whatever
    b) use a web browser control to view the file in Access itself

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

Similar Threads

  1. Send attachment as email attachment.
    By JulieAHop in forum Programming
    Replies: 1
    Last Post: 03-10-2017, 10:25 AM
  2. Replies: 3
    Last Post: 10-13-2014, 05:48 PM
  3. Replies: 1
    Last Post: 09-04-2014, 11:10 AM
  4. Replies: 13
    Last Post: 12-05-2013, 06:04 PM
  5. Replies: 16
    Last Post: 04-30-2012, 07:12 AM

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