Hi
I have a display array with some text fields along with an image field. This is used to display a variable number of images relating to a product.
Here is the code that loads the local array:
function b13_loadimages()
declare b13C cursor for
select * from tctstih
where s_stam = stam.s_stam
or s_stam = refstam.s_stam
order by imagetype
call tabimgA.clear()
foreach b13C into stih.*
let tabimgA[tabimgA.getLength() + 1].tabimgtext = stih.imagetext
locate tabimgA[tabimgA.getLength()].tabimgimage in file
select tctstid.image into tabimgA[tabimgA.getLength()].tabimgimage from tctstid
where s_stih = stih.s_stih
end foreach
end function
The array is displayed as part of an unbuffered dialog. You can see an example in the attached screen shot.
I seem to be having a problem with the images caching if one views one product after the next. The text element of the array is always correct but the image displayed seems to be a cached version of the first product viewed.
I've read through the manual but cannot see anything relating to this.
So, do images cache somehow? If so, how do I override this behavior?
Thanks
Gary