Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to protect pic. in blob fields
Message
From
03/10/2011 03:20:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01525343
Message ID:
01525428
Views:
49
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform