Results 1 to 2 of 2
  1. #1
    emccaul is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2012
    Posts
    1

    Pictures linked in a Report.

    My Access table needs three pictures that are bitmaps in separate folders. The directories are "server path\pics", "server path\locs" and "server path\maps". Each record, in my table, has a picture number field (pictnum) to link the pictures. The pictures are named "pic_" & [pictnum] & ".bmp", "loc_" & [pictnum] & ".bmp" and "map_" & [pictnum] & ".bmp". I tried using a function I found online named "DisplayImage" to assign each picture to bound objects named "picnam", "locnam" and "mapnam". I call the function in the OnFormat event the detail section to fill bound objects in the report. I also tried to use the "DisplayImage" function in the control source on the object. The best I get is an error that states "Cannot find file" or a blank box. Can anyone help me link these pictures to the report?

    Ed McCaul,

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Provde code or database for analysis.

    Is your code like example at http://support.microsoft.com/default...%2Dus%3B285820

    You could upgrade to Access2007 or 2010 and code would not be needed.
    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.

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

Similar Threads

  1. Unbound textbox and report linked to vba
    By Shambler2 in forum Programming
    Replies: 7
    Last Post: 06-09-2011, 04:29 PM
  2. User selects pictures for report
    By NISMOJim in forum Reports
    Replies: 1
    Last Post: 10-29-2010, 03:06 AM
  3. printing imported pictures in a report
    By Jsrogol in forum Reports
    Replies: 1
    Last Post: 08-19-2010, 04:34 PM
  4. Repositioning pictures in the report
    By SimonJ in forum Reports
    Replies: 0
    Last Post: 09-28-2006, 03:51 PM
  5. Loading pictures from URL in a report
    By drborracho in forum Programming
    Replies: 5
    Last Post: 12-13-2005, 09:22 AM

Tags for this Thread

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