Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stuck on JPG's
Message
 
À
25/05/1999 22:42:54
Ken Zak
Hagerty Classic Insurance
Traverse City, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00222764
Message ID:
00222790
Vues:
13
This message has been marked as the solution to the initial question of the thread.
Here's one way that seems to work. Add a report variable and set it up to be what you show in your message. Use that report variable in the report's OLE (image) control.

>I've been working with Visual Foxpro 6.0 and have come across a problem with the JPG files. I have been able to get a jpg graphic to show on a form using the following code:
>
> "\data\Images\"+alltrim(str(image_key))+".jpg"
>
>as I move from record to record it shows the appropriate JPG image on the form.
>
>I've been trying to perform the same type of setup in a report but all I get is 'invalid path or file name'.
>
>It seems to want the exact image file name, or else will not work. I've also tried using macro substitution '&mfilename' but that failed also.
>
>using the following works (but only for that one image).
>'\data\Images\100001.jpg'
>or
>'\data\Images\'+'100001'+'.jpg'
>
>I would like for the '100001' to change with each record's key field.
>
>Any help you can provide will be greatly apreciated.
>
>Thanks
>
>Ken
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform