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

Garry, try to use CLEAR RESOURCES myPicture.bmp

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform