Hi!
>Hi Vlad, thanks for a quick response.
>I had never saved a picture to a memo field. Can you explain to me more detail about this? Thanks.
&& save picture file content in the memo field
replace MyTable.MyMemoField with FileToStr("MyPict.bmp")
&& more quick approach
Append memo MyTable.MyMemoField FROM ("MyPict.bmp") OVERWRITE
&& Store picture from memo into the file
StrToFile(MyTable.MyMemoField,"MyPict.bmp")
In these samples instead "MyPict.bmp" you can use variable that holds a file name with fill path.
This is for VFP dtabase.
When you working with remote data, see FAQ#7995 - you will require to do additional things because VFP get binary data from remote server into the general field by default.
HTH.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.