Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using big images in reports
Message
 
To
25/10/2000 14:14:17
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00434227
Message ID:
00434303
Views:
12
>I am trying to use an image of a scanned form in a report (in this case, a scanned invoice form.) I want to lay fields on top of the report image, so that a completed form will be printed out.
>
>Question is, how should the report bands be laid on the image so that the detail band will work correctly? If you have the invoice form's header area in the pghead band of the report, and the invoice's footer (tax, freight, total) section in the pgfoot band, you have a huge detail band in the middle -- too big.
>
>But how else could it be done?
>
>TIA,
>
>Shannon Tucker


Shannon,

I've never placed an image of a form on a report but I've placed full-size watermarks across the page. Here's how to do it:

Place the image in the upper left-hand corner of the page header band, sizing it small enough to fit in the header. Then save the report, get out and hack the report file. To do this ...
USE reportname.frx
BROWSE
Look for the image (objtype will be 17). When you find that record in the report file, change the HEIGHT AND WIDTH to be the full size of your report. I think, but I'm not sure, that 1000 units = 1 inch on the report. It will probably take a few attempts at getting the size right. Once you've hacked the FRX, you can close the file and bring up the report writer again and continue with your report designing. It will look a little strange, so you'll have to play around with setting up your header, detail and footer bands and do a test print to see how everything looks.
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