Results 1 to 3 of 3
  1. #1
    mystifier is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Nov 2010
    Posts
    24

    Report to PDF Problem

    I have reports that sometimes need images included. Unfortunately, there is no equivalent to can_grow/can_shrink with an image control to reclaim the blank space if there is no image so I have set the .width and .height in Report_Load (putting the code in Detail_Format doesn't work). My idea is to have a tiny blank image that grows when I need it.



    This works, although it overlaps other controls so I have to programatically move everything below it )

    The big problem I have though, is that the changes have no effect on produced PDF (DoCmd.OutputTo) which is all I am really bothered about because these get automatically sent (SendObject) to clients.

    At the moment, my only solution is to have blank placeholders where images might appear which looks awful.

    Any help appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I had similar issue and finally settled for a placeholder with 'No image available' statement displaying when image is not present. I actually created a jpg of those words and that is the image linked to record. I suppose a label could serve the same.
    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
    mystifier is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Nov 2010
    Posts
    24
    Thanks June7

    Until I can find something better, ideally, making code changes to a report that actually have effect on the PDF, I have a few variations of the report with different image controls. I count how many images there are with a query and open the best suited report.

    It will have to suffice for now but it is definitely a very weak area in Access.

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

Similar Threads

  1. Report Problem
    By access_man in forum Access
    Replies: 7
    Last Post: 11-14-2010, 12:07 PM
  2. report problem
    By mann2x in forum Reports
    Replies: 1
    Last Post: 10-09-2010, 06:10 PM
  3. Problem with sub-report
    By samo1215 in forum Reports
    Replies: 0
    Last Post: 06-27-2010, 01:11 PM
  4. Report Problem
    By RandRob in forum Reports
    Replies: 0
    Last Post: 11-18-2008, 05:39 PM
  5. Report Problem
    By tlitman09 in forum Reports
    Replies: 0
    Last Post: 02-20-2007, 09:26 PM

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