Stefan,
See
How to work with Image field type on SQL Server (binary data)? FAQ #7995.
>Hi,
>
>My application is written in VFP8 and uses filetostr and strtofile to store and retrieve data of a image in an text field of a SQL Server table. It works fine for certain files, but some files (Mostly grayscale pictures) show corruption when retrieving them from the table. I think it has something todo with code page translation, but I don't know how to alter this.
>
>Does anybody has some ideas?
>
>TIA,
>
>Stefan
--sb--