Results 1 to 6 of 6
  1. #1
    dljohn is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2016
    Posts
    6

    How can I display an image file that is attached to a record in a form basesd on a list box

    I have a DB built to track product at a customer site. When the customer enters a "tag" number into a search box on a form, information about that particular product is displayed on the form in many different text boxes. I have a table built with the "tag" number and the image file that is in a direct relationship with the main table but I cannot get the image to display when the customer selects a "tag" number in the list box. Please help. I am a new Access user and am lost!!!!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Is the image saved in the table,
    or is it the path to the image?

    if saved in the table, select the bound image object ,and the field, then drag to form.

  3. #3
    dljohn is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2016
    Posts
    6
    I have one large table with all the data for devices and a separate table that links to the main with a "tag" number. The small table has two columns one with a linked tag number to the main table and an attachment column with the image file. On my form when the customer types in the "tag" number I would like for the image file attached to that "tag" number appear on the form with the rest of the information that is linked to that tag. I hope this isn't too confusing. My Access vocabulary is not that great.

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Attachment fields are a pain for this and are not friendly.
    you should make an OLE field. This way the picture can be added /pasted directly into the field.
    Then the form can read directly from it. No code needed.

  5. #5
    dljohn is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2016
    Posts
    6
    Can you please explain how to install an OLE field?

  6. #6
    dljohn is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2016
    Posts
    6
    And will this just attach the image to that particular record? When the customer searches for a new "tag" number I need the new information to refresh in the form.

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

Similar Threads

  1. Displaying attached image in form
    By Tectu in forum Forms
    Replies: 4
    Last Post: 08-08-2015, 04:29 PM
  2. Replies: 22
    Last Post: 06-30-2014, 06:28 AM
  3. Select a record and display an image
    By Chris G in forum Forms
    Replies: 5
    Last Post: 11-01-2012, 04:38 PM
  4. Image display in reports from external file
    By lumoco in forum Reports
    Replies: 2
    Last Post: 09-28-2011, 04:37 PM
  5. Replies: 0
    Last Post: 12-03-2010, 02:17 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