Results 1 to 3 of 3
  1. #1
    Cavman is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    9

    Question Limitations Displaying Graphics on Continuous Forms

    Hi,



    Here's what I'm trying to achieve:
    I have a continuous form that displays a list of records. I need to display a logo next to each record that relates to that record. The path to the logo is stored in the table and currently I'm using 'Me.imgProjectIcon.Picture = Me.ProjectLogoPath.Text' in the code to pull in the correct graphic and display it.
    Obviously, as Access only has one set of controls for all records on the continuous form, the last referenced graphic is the one displayed for all records, which is no good!
    Does anyone know a way I could get around this? I wondered maybe if anyone has created their own code to mimic the continous form in displaying cascaded records pulled from a table rather than using a continuous form?

    Any ideas would be appreciated.

    Thanks,

    Simon

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    Use an Image control and bind its ControlSource property to the field. No code necessary. The ControlSource property was introduced to the Image control with Access 2007.
    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
    Cavman is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    9
    That's great, thanks for your reply! I finally figured out how to do it by entering the world of OLE objects! I've managed to get it to do exactly what I wanted - just a shame that the formatting controls are a bit limited - the images all come in left and top aligned rather than centred, but I can get around that by making sure every graphic is the correct size.

    Thanks again,

    Simon

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

Similar Threads

  1. Clone data in continuous forms
    By maddoctor in forum Forms
    Replies: 3
    Last Post: 11-19-2012, 11:57 AM
  2. Replies: 1
    Last Post: 03-15-2012, 02:21 PM
  3. Continuous forms records missing
    By KWarzala in forum Forms
    Replies: 2
    Last Post: 12-28-2010, 12:42 PM
  4. Replies: 2
    Last Post: 10-16-2009, 02:47 PM
  5. Replies: 3
    Last Post: 09-06-2008, 10: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