Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,961
    Okay, the example code given so far did not specifically show how to attach multiple files to same record, although clues are there. Here is another reference from same source offering that http://blogs.office.com/b/microsoft-...-a-folder.aspx



    Basically, it again shows opening a recordset of the hidden child table of the multi-value attachment field but in this case the code loops through the files in folder and inserts each as a record in the child table - the reverse of looping through the child records to delete or save out to folder.
    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.

  2. #17
    aspen is offline Competent Performer
    Windows Vista Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    127
    Dear Jun
    The link is is so important and help full you know. And you have aided me personally to learn more vba about attachments than i ever imagined. when i started my first thread guessing that it was imposible , and i would just ask the forum and confirm a no and adjust. But this forum and specially jun7 has shifted my paradim of how vba can manipulate even attachments.

    my eternal gratitude
    thank you

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 04-13-2012, 12:25 PM
  2. Attachment Field vs BLOBs
    By irish634 in forum Access
    Replies: 0
    Last Post: 02-10-2012, 10:19 AM
  3. Add a new record with attachment using VBA
    By joycesolomon in forum Programming
    Replies: 1
    Last Post: 08-15-2011, 01:52 PM
  4. Replies: 2
    Last Post: 11-18-2010, 04:13 PM
  5. Attachment Field problems
    By freds in forum Database Design
    Replies: 1
    Last Post: 12-15-2009, 06:37 AM

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