Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture handling in Crystal Report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00566505
Message ID:
00566722
Vues:
24
Hello Willianto,
What I managed to make work in my application was to save the .BMP image to a common filename in a common location, and insert it into the Crystal Reports report as an OLE linked object. Thus, each time the report is generated, the linked object gets updated and displays the picture appropriate to the record being displayed in the report. In the Foxpro portion, when selecting the records for reporting, I copy the file out to, say C:\TEMP\REPORT.BMP. In the Crystal report designer, I used the Insert,OLE Object menu, selected From File, and checked the Link checkbox. Hope this helps.

Randy

>Hello everybody,
>
>Anybody know how to handle general field in Crystal Report? I am in a
>situation where I need to create a report with picture in it. Yes, i
>know i can use Picture/Ole Object from VFP's native report writer. But
>for some reason (which i won't mention here, otherwise this post will be
>too long) i have to use Crystal Report. I tried to insert
>(drag-and-drop) the general field in the CR Designer, but cr treated it
>as string (with zero length !?).
>
>Because I have try this way with no luck, i had an idea; What if I save
>the picture that i need to display in file something.bmp. I could
>generate a random-unique filename and put the file name in the field. I
>was hoping that in the crystal report, i can assign a picture with the
>file name in the field.
>Problem: I don't know how to assign a picture with the path in the field.
>
>Can anybody help me? I need to know how to use general field in cr (if
>possible) or how to assign a picture (in cr) where the picture file name
>is stated on the data field.
>
>TIA
>Willianto
>p.s I use VFP7 and CR 8
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform