General information
Category:
Pictures and Image processing
Title:
Remove picture in General Field
Environment versions
Network:
Windows 2000 Server
Hi,
I normally followed Mr.Ken's suggestion regarding the large amount images. As far as staff is concerned I use general field to store image of the staff, I can store the image, but how can I remove it. Please guide.
The code for image store is:
LOCAL lcFileName
lcFileName = GETFILE("JPG", this.Caption, 'Add Picture')
IF !EMPTY(lcFileName)
This.Parent.ImgPicture.Picture = lcFileName
APPEND GENERAL Picture FROM (lcFileName)
Thisform.Refresh()
ENDIF
And, for removing I use the code like ..
This.Parent.ImgPicture.Picture = ' '
REPLACE master.picture WITH ' '
Thisform.Refresh()
which gives error "Data type mismatch.
Saify
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