Results 1 to 3 of 3
  1. #1
    rebfein's Avatar
    rebfein is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2015
    Location
    So Cal
    Posts
    114

    Is there to paste a group of addresses into a group of hyperlink Access Cells?

    I have a 10K+ record database table that I need to change in the following way:

    My boss wants to add a picture of each part listed in the database (Lord help me). Taking the pictures was fairly easy.

    I added a hyperlink field to the table. I added a folder to the database entitled 'Screen Shots,' where the pictures will be stored.



    I have, however, discovered that the link does not work when I copy groups (100 at a time) into the fields (1 picture link per each record cell).

    How can I do this without having to individually copy each address into each cell?

    Many thanks,

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,791
    You didn't say what the relationship is between a picture id/file name to a db record. If there is one, an update query I would think. If not, I don't know. Hopefully when you say "cell" you mean field, as I see no mention of a spreadsheet here. Tables don't have cells, so I'm not sure of the connotation.

    Further, I would not use a hyperlink field for this; rather a text field with the complete path and an image control that references that path, assuming we're talking about viewing the image on a form. I think you will find the hyperlink field will only add headaches.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Agreed, if you want to view images in form or report, a hyperlink field will add complication. Can't really paste a value into hyperlink field anyway. Where were you copying these paths from?

    As Micron said, use a text field that saves file path. Then if you want to use image in form or report or open the image in a viewer app, that field can be used. Will require some code to open in viewer app.

    If the image file name includes the part identifier, code can loop through images folder and save the path to appropriate record.
    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: 2
    Last Post: 11-26-2016, 01:07 PM
  2. Replies: 2
    Last Post: 01-27-2016, 08:38 AM
  3. Replies: 6
    Last Post: 06-09-2015, 09:51 AM
  4. Replies: 0
    Last Post: 02-25-2013, 04:43 PM
  5. Replies: 2
    Last Post: 06-21-2012, 07:40 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