Results 1 to 6 of 6
  1. #1
    eugenioca is offline Novice
    Windows 8 Access 2003
    Join Date
    Sep 2017
    Location
    Italy (the low end of the boot)
    Posts
    3

    Hyperlink field and linked files management

    Hi there programmers

    My name is Eugene and I'm a (not so) access 2003 sp3 power user. In particular my macro and programming skills are poor and rusty. I have created a db with names and info about customers. One of my db tables has a hyperlink field with the link to a customer's pdf curriculum file. All the files are in a directory. There are several hundreds of customers in the db and I have some query to select them.
    What I need is a macro or a script that copies the CV of all selected customers in an empty folder. How can I perform this task?

    Thanks in advance for every (even little) hint You can hand me

    Eugene

  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,772
    What is CV? Copy to where?
    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
    eugenioca is offline Novice
    Windows 8 Access 2003
    Join Date
    Sep 2017
    Location
    Italy (the low end of the boot)
    Posts
    3
    What is CV? Copy to where?
    Hi,

    CV stands for curriculum vitae (a resume)
    I have a set of people and I have a dir full of resumes. I have a query that select people given their age, skills, etc and I need to copy the resumes of selected people from this big basket to an empty folder.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Use VBA procedure that loops through recordset object and copies each relevant file.

    So how are the resumes named? What field in recordset can be used to match file name?
    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.

  5. #5
    eugenioca is offline Novice
    Windows 8 Access 2003
    Join Date
    Sep 2017
    Location
    Italy (the low end of the boot)
    Posts
    3
    So how are the resumes named? What field in recordset can be used to match file name?
    the resumes are named like this: 'surname name.pdf' but I can rename them like this 'codice.pdf' where codice is the key field of the table 'Dati candidato'.
    Here U can find an empty copy of the db.

    https://drive.google.com/open?id=0B_...nFzVnNpUFJ3RGM

    The table to work at is 'Dati candidato'

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Don't think I want to download db. You should attempt building suggested code and when you encounter specific issue post question. Many examples of code manipulating recordset object as well as how to copy a file. Provide your code for analysis.
    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: 6
    Last Post: 09-14-2013, 05:59 PM
  2. Excel files on sharepoint linked to access
    By Bertrand82 in forum Access
    Replies: 3
    Last Post: 01-31-2013, 11:57 PM
  3. linked files
    By ashok in forum Access
    Replies: 2
    Last Post: 07-13-2012, 09:30 AM
  4. Accessing linked files
    By ashok in forum Access
    Replies: 1
    Last Post: 06-28-2012, 07:55 PM
  5. Linked Files
    By Ronnierubberlegs in forum Access
    Replies: 3
    Last Post: 02-26-2010, 08:26 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