Hey there folks--
This is in VFP8.. I have an image on a report with its Image property set to a global object's property, so every time the report is run, it should show whatever image ("path\filename") is stored in oApp.clogo. I store the images in the exe and, when the user selects from a dropdown, I strtofile() the appropriate image out to disk with the general name "logo.gif".
So I run the app, select from a dropdown and I can see the correct image is written out to disk. I run the report and the correct logo shows up. Then I go back and select another item from the dropdown and I see that the logo.gif on disk is overwritten with the correct (new) image. BUT, when i run the report again (same report file), the first image is shown -- not the one presently on disk in the file logo.gif.
Is this a bug? Is there some report buffer I have flush first? Any help would be appreciated.
Thanks
-- frank~
This is in VFP8.. I have an image on a report with its Image property set to a global object's property, so every time the report is run, it should show whatever image ("path\filename") is stored in oApp.clogo. I store the images in the exe and, when the user selects from a dropdown, I strtofile() the appropriate image out to disk with the general name "logo.gif".
So I run the app, select from a dropdown and I can see the correct image is written out to disk. I run the report and the correct logo shows up. Then I go back and select another item from the dropdown and I see that the logo.gif on disk is overwritten with the correct (new) image. BUT, when i run the report again (same report file), the first image is shown -- not the one presently on disk in the file logo.gif.
Is this a bug? Is there some report buffer I have flush first? Any help would be appreciated.
Thanks
-- frank~