Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different Graphics in Reports when in .exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00157296
Message ID:
00157564
Vues:
20
>I have a report form that contains a logo called zLogo.gif.
>
>I'm sending the report to numerous locations and it would be nice if they could copy their particular logo to a directory and have the report print their logo instead of the one that I put on when the report was created and the program compiled.
>
>Is this possible?

You could have your application create a temporary copy of the FRX and FRT files and then manipulate the image item so that it points to another picture.

COPY FILE MYREPORT.FR* TO TEMPREPORT.FR*
USE TEMPREPORT.FRX
LOCATE FOR OBJTYPE = 17 && Picture
REPLACE PICTURE WITH ["c:\test.bmp"]
USE

REPORT FORM TEMPREPORT
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform