Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to protect pic. in blob fields
Message
De
03/10/2011 03:20:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01525343
Message ID:
01525428
Vues:
48
>Hi
>
>I stored a picture in blob field and I am testing codes below:
>
>REPLACE DATA2 WITH STRTRAN (data2,"D","E")
>
>The picture becomes fuzzy ( OK)
>
>REPLACE DATA2 WITH STRTRAN (data2,"E","D")
>
>Then, picture became yet more fuzzy.
>
>Why picture does not go back to normal ?
>
>I already tried CHRTRAN
>
>Moises

Moises,
In case you just want to hide the picture for some reasons but would like to leave the file on the disc, you could also try to add a string to the beginning of your pictureval and remove that string again to reveal the picture. This would prevent to change any data in your original file and would also prevent the file to be identified as a picture and therefore it will not show. The to be added string can be anything at least 10 digit long.
Regards,
Koen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform