General information
Category:
Reports & Report designer
Title:
Passing bmp file names to a report
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only