Results 1 to 8 of 8
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919

    Setting the "picture" property of an image control

    On a continuous form, where each record in the RecordSource contains the file name of a jpeg image, what event or method allows me to set the picture property of an image control. Each record contains the description of an item and its picture is also to be displayed on the form.

    I need the equivalent of the "On Format" event (I guess) in reports where I can set the file and path of an image in the picture property.



    Thanks,
    Bill
    (PS) Can't believe I've not encountered this before on a form...............first time for everything even with old guys.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Don't know if Access 2003 can handle that. http://ms-access.questionsfind.com/q...se_104654.html

    See if this helps http://office.microsoft.com/en-us/ac...001147204.aspx

    Scroll down to the section "Display bound images (images that change with each database record or report page)"
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614
    Add an Image to your bound form. Set it's picture property to "Linked" and set it's control source (on Data Tab) to the field storing path to the picture. This works for Access 2010.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    amrut, Image control in 2003 doesn't have ControlSource property.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614
    Never used Access 2003, thanks for the info.

  6. #6
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919
    The key issue here is "Continuous Forms". The descriptions offered in the Microsoft link doesn't address setting links in record controls for continuous forms. One could do that with bound OLE controls and use bmp file formats, but that was not a viable method in this case. The app is of very limited use and doesn't justify any further efforts, so I'll mark this resolved and move forward with single record form approach. Thanks for your thoughts and efforts.
    Bill

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    That's why Access 2007 enhanced the Image control with a ControlSource property.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919
    One of these days, I'll convert all the many right-click pop-up user options I have to ribbons so I can move off of A2003.

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

Similar Threads

  1. Replies: 6
    Last Post: 10-17-2013, 03:47 PM
  2. Filter Form with "CurrentRecord" property
    By bbrazeau in forum Forms
    Replies: 3
    Last Post: 05-24-2013, 10:16 AM
  3. Replies: 17
    Last Post: 06-04-2012, 05:11 PM
  4. Replies: 11
    Last Post: 11-26-2010, 10:53 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