Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing bmp file names to a report
Message
From
13/04/1999 07:01:30
Garry Sankowsky
Zodiac Publications
Tolga, Australia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Passing bmp file names to a report
Miscellaneous
Thread ID:
00207734
Message ID:
00207734
Views:
55
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?
Next
Reply
Map
View

Click here to load this message in the networking platform