Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable size of picture in report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01126973
Message ID:
01127084
Views:
14
>Hi All,
>
>How to get variable picture size in detail band in a report? If there is no picture assigned to a record I don't want to make the detail band longer than the text in the record. But If there is a picture assigned, I would like the detail band to grow with the picture. And even better would be if I could also control the max allowable size of the picture at the same time.

1. Stretch the size of the band so it's tall enough to include the picture.

2. Add Print When logic to the picture to skip if empty and mark it as 'remove when blank'

3. Add a horizontal line underneath the picture, mark the print when as .f., and mark it as 'remove when blank'

The line tricks the report writer into sucking up the unused space that the picture would have occupied.
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