Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing bmp file names to a report
Message
De
13/04/1999 07:01:30
Garry Sankowsky
Zodiac Publications
Tolga, Australie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Passing bmp file names to a report
Divers
Thread ID:
00207734
Message ID:
00207734
Vues:
54
Is it possible to get the bmp file name for a report from a variable?

I have tried 'store "image1.bmp" to pict1, and in the file name
box of the image control putting &pict1. All I get is syntax error.

I use Jpeg files in my application which have to be converted to bmps before they can be printed from a form.

To do this I store them in the temp dir. and delete them after the report is printed.

Problem No. 1! With modern computers the files stay in the cache memory and the previous images will appear on reports, even though they have been deleted.

To get round this I keep count of images in a variable and use six different temp file names, when the sixth name is used, jumping back to name no. 1.

It would be much simpler if the actual file name could be used and passed to the report via a variable.

Any ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform