Results 1 to 2 of 2
  1. #1
    KERVIN is offline Novice
    Windows 10 Access 2016
    Join Date
    Sep 2018
    Posts
    1

    Image in a table

    Hello,



    I have a table of about 5,000 records, this table will be exported to Sharepoint to be exploited.
    My problem is that I have to add a record image to the table.
    So I added an OLE field but I can not create a function to update this field with the corresponding photo.
    The images are all in the same directory and have a name in the table:
    ex
    RecordNr ImageName
    ......1.......=.....1.jpg
    ......2.......=.....2.jpg
    ...

    Thank you in advance.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    sFile = "C:\Pictures\gotg.jpg"
    Me.Img.SourceDoc = sFile
    Me.Img.Action = 1

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

Similar Threads

  1. Replies: 6
    Last Post: 03-22-2018, 12:02 PM
  2. Replies: 2
    Last Post: 03-14-2018, 11:10 AM
  3. Replies: 1
    Last Post: 12-26-2016, 08:57 AM
  4. Replies: 3
    Last Post: 07-13-2015, 12:07 PM
  5. Replies: 2
    Last Post: 10-10-2011, 10:58 AM

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