Results 1 to 2 of 2
  1. #1
    mrmims is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jul 2013
    Posts
    53

    Auto Sort files into Database

    I have an idea I want to try, but do not know if it is possible.



    I have tblSerialNumbers, and each record is a winch/hoist in my theatre, and there are over 200 winches/hoists. Frequently these items are Load Tested and a form is filled out, scanned, and saved as a pdf. My crew then uploads each scanned pdf into a the corresponding attachment field in tblSerialNumbers. This can be time consuming.

    When the forms are scanned and saved, they are titled with an 8 character serial number followed by the date (ex. ST011607_1_17_14.pdf).

    Is it possible, to have access look at multiple files and determine from the first 8 characters which record in tblSerialNumbers to place the pdf in the attachment field.

    Thank you for any help ... even if it is telling me to keep dreaming and telling my crew to be quiet and get back to work.

  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,770
    It's possible. Need code to load document into the attachment field. Review https://www.accessforums.net/access/...eld-40827.html

    Are you aware Access has a 2GB size limit? Lots of large saved images can consume that limit quickly. Alternative is to save path to external file. Simpler code.
    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.

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

Similar Threads

  1. Replies: 3
    Last Post: 01-10-2014, 02:35 PM
  2. Unable to sort records in database
    By SiyarK in forum Access
    Replies: 6
    Last Post: 02-07-2013, 02:22 PM
  3. Splitting a Database - Sort of
    By Paul H in forum Database Design
    Replies: 6
    Last Post: 11-10-2011, 02:07 PM
  4. Auto Sort ID Field When DataBase Opens
    By lyndon.pace in forum Reports
    Replies: 1
    Last Post: 04-08-2011, 10:06 AM
  5. Auto sort a form when opened?
    By newtoAccess in forum Access
    Replies: 2
    Last Post: 03-19-2011, 03: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