Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detail Line with Logo on the Right - Any Tricks?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00681034
Message ID:
00681081
Vues:
28
>A Client has a logo which is 3 inches tall and 1/2 inch wide that needs to be printed on the bottom RHS. However he wants the detalied line to use the whole page to the Left of this Logo.
>Any Tricks on how to achieve this?


To pull this off, you have to hack the FRX file. First, add the graphic to the page header band with the Report Designer. It doesn't have to be full-size, you just have to get the object on the report so you can hack it later.

Next, close the Report Designer and open the report file:

USE MyReport.frx

Now look through the records in the table and find the record that represents the image. It will have an OBJTYPE of 17 and the PICTURE field will be the name of the graphic file. Once you have found this record, you can change the HPOS and VPOS fields to represent the horizontal and vertical starting positions of the image. Next, change the HEIGHT and WIDTH fields to represent the size you want the image to be. The unit of measure for these four fields is 1/10,000 of an inch, so to get 3" x 1/2", enter 30000 for the HEIGHT and 5000 for the WIDTH.

Now just close the table and run the report. The image will appear in the position you indicated and won't be considered part of the "footer" so the detail bands will continue right next to the image.

Cathy
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform