>Dear Alex,
>
>thank you,
>
>remark: my picture (.bmp)
> field name is (pic).
>
>when i put (thisform.image1.picture=pic)
>
>i get a meesage (operation is invalid for agenaral field).
Mohammed. You cannot assign the general fields
contents to the image object. The picture property expects a file name. You need to first extract the image from the general field to a disk file and then assign the disk file to the image picture property.
cPicFile = "C:\Temp\" + SYS(2015) + ".bmp"
COPY MEMO pic.pic TO (cPicFile)
thisform.image1.picture = cPicFile
...
DELETE FILE (cPicFile)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.