Results 1 to 2 of 2
  1. #1
    twalishuka is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2011
    Posts
    1

    Unique attachments

    Hi there,



    I am trying really really hard to accomplish something, but I need help.

    I am creating a database where files are attached from a default folder, based on the surname. For example, I want to email a school report (saved as a PDF) for John to John's mother and John's father.

    Please can you give me some guidance? This would help me a lot...

    Alistair

  2. #2
    jgelpi16 is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    How do you have the surname identified? Do you have the user select the surname or type it in? Depending on how you have your file name set up you can identify the file by using the Dir() function.

    Code:
    vSurname = "Smith"
    Dir("C:/Data/File" & vsurname & ".pdf")
    Without a little more to go off of I'm not sure I can be much help.

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

Similar Threads

  1. Save Attachments.
    By drunkinmunki in forum Programming
    Replies: 6
    Last Post: 11-20-2012, 10:11 AM
  2. Attachments
    By cjp78 in forum Access
    Replies: 4
    Last Post: 05-11-2010, 07:30 AM
  3. attachments to predefined directory
    By surfcaster in forum Forms
    Replies: 0
    Last Post: 03-04-2010, 02:22 PM

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