Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove picture in General Field
Message
De
28/02/2007 01:41:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Remove picture in General Field
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01199433
Message ID:
01199433
Vues:
54
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform