Hello again Sergey,
You might be interested in this. I tried the mthod you suggested using:
oImg=createobject(image)
scan
oImg.picture=images.filename
endscan
for 450 records in the images table (over a fairly slow network), and it took around 400 seconds.
I did the same scan -endscan using a low-level read and parse of the jpg file headers using this jpgsize() function from Thomas Gehrke.See:
http://www.wikis.com/wc.dll?WC~JpgSizeFunctionhttp://www.wikis.com/wc.dll?WC~GifSizeFunctionThis took only 37 seconds! The simplest code is not always the fastest...
Thanks again anyway
John
Dr. JW Faithfull
Curator in Geology
Hunterian Museum
University of Glasgow
Glasgow G12 8QQ
Scotland