Results 1 to 2 of 2
  1. #1
    wasim_sono is offline Advanced Beginner
    Windows XP Access 2013 64bit
    Join Date
    May 2005
    Location
    Pakistan
    Posts
    73

    Link image control with part name of picture

    Dear all

    I have Pictures at a particular location say d:\image\1234567802012017.jpg. The name includes Picture name (8digit)+date. I need to use following code in control source of image control:
    =Left(("D:\image" & [Forms].[display].[meter_no] & ".jpg"),8)
    to pick picture having name with matching name on form filed "meter_no".


    but its not working.

    Please note that the database is shared by mapping the drive to other users.

  2. #2
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    Code:
    =Left(("D:\image" & [Forms].[display].[meter_no] & ".jpg"),8)
    should this be...
    Code:
    =Left(("D:\image\" & [Forms].[display].[meter_no] & ".jpg"),8)

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

Similar Threads

  1. Replies: 3
    Last Post: 07-13-2015, 12:07 PM
  2. Replies: 7
    Last Post: 11-08-2013, 08:28 PM
  3. Replies: 7
    Last Post: 08-28-2013, 02:30 AM
  4. picture image link on a table textbox
    By john_gringo in forum Access
    Replies: 5
    Last Post: 11-04-2011, 02:21 PM
  5. syntax on setting image Picture control
    By cowboy in forum Reports
    Replies: 2
    Last Post: 02-18-2010, 10:00 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