General information
Category:
Coding, syntax & commands
>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
If there are 'E's in the string already then you're going to end up converting a lot of the original 'E's to a 'D' so you don't get what you started with:
ABCDE
D => E
ABCEE
E => D
ABCDD
What are you trying to achieve?
Previous
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