Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images on reports
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00797710
Message ID:
00803411
Views:
25
Hi Rex,

As I was reading another unrelated thread .. the answer to this problem popped into my head. Mark the picture as "Remove when blank". Then add a horizontal line just beneath the picture .. set the Print When logic to .f. so it never prints .. and mark it as remove when blank.

This should do it for you!!

Cathy

>Hi All,
>
>I have a report with a single line of data and an image to the right of it. Because the image is taller than the data line it extends say three of four lines below the report line in the detail band (the image object is square). I have the image set to "Remove line if blank" and a failsafe "Print only when expression is true - !EMPTY(pic1)".
>
>When the report is run however, VFP7.0 SP1 ignores the "Remove line if blank" and still takes up the same space as if the image was present.
>
>The bottom line is that if the image is not present, I want the next data lines to appear immediately after the previous one, without the additional blank lines left by VFP as if the image was present.
>
>This seems to be a bug with the image object to me, because normal text lines do not show when "Remove line if blank" is ticked.
>
>I would be pleased to hear if anyone else has come across this problem and more particularly found a solution.
>
>Regards...Rex
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform