Results 1 to 3 of 3
  1. #1
    clrockwell15 is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2017
    Posts
    23

    Inserting a Photo for each contact record for my Roster

    I want to include a photo with each record of my Roster database. I tried using this method:


    I added an OLE object named "photo" to my Empmast table.


    Then I stored the full path to the object (.....\photo.jpg) in a text field named "picture" in the same table.


    I then added the OLE object named "photo" to my form


    And then set the control source to the "picture" field.

    I then preview my report and I do not get their photo to appear.

    Need Help

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    You don't need the OLE object. Just use the full path to the pics in each record as the control source for an image control (not OLE) in both the form and the report.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,651
    Picture is a reserved word and is a property of an image control. You should use a different field name.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

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

Similar Threads

  1. Replies: 1
    Last Post: 01-30-2020, 08:48 PM
  2. Print record : field with photo
    By cagliostro52 in forum Reports
    Replies: 0
    Last Post: 01-28-2019, 09:28 AM
  3. Replies: 1
    Last Post: 11-21-2018, 05:02 PM
  4. Why inserting new record is not working?
    By jaryszek in forum Access
    Replies: 4
    Last Post: 04-20-2018, 04:01 AM
  5. Adding a different Photo per employee record
    By Beamarshall in forum Access
    Replies: 11
    Last Post: 09-26-2014, 11:45 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