Results 1 to 3 of 3
  1. #1
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581

    Getting a picture to appear


    I'm not sure what I'm doing wrong. I have a form with an image box. I want a picture to appear so I put in the control source: =DLookUp("EmployeePicture","qryEmployeesAll","Empl oyeesID=EmployeesID")
    It does not go to the correct picture. It gets the first picture in the query. What am I doing wrong?

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    looks like your criteria is wrong

    should be

    "EmployeesID=" & EmployeesID

  3. #3
    UT227 is offline Expert
    Windows 7 32bit Access 2013 32bit
    Join Date
    Feb 2016
    Posts
    581
    Ah... forgot. Worked perfectly. Thanks.

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

Similar Threads

  1. Replies: 8
    Last Post: 12-17-2017, 12:33 PM
  2. Picture from Url
    By cdscivic in forum Reports
    Replies: 1
    Last Post: 11-28-2016, 05:00 PM
  3. Replies: 1
    Last Post: 08-26-2014, 03:45 PM
  4. Opening a picture
    By dada in forum Programming
    Replies: 1
    Last Post: 08-15-2010, 09:33 PM
  5. Adding a Picture
    By MFS in forum Programming
    Replies: 4
    Last Post: 01-18-2010, 07:19 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