>Hi, Mike
>You mean I need to create a dbf file and create 1 binary field
>to store the image and then use STRTOFILE() to save it
>to a separate file when use the image. Am I right?
>
>Then How to save a picture (bmp or jpg) into a binary field ?
>
>Please advise.
>
>Derek
If you use a General field, it is easy to get images in, but difficult to get them out.
Better use memo(binary).
To save an image to the memo:
replace MyMemo with FileToStr("MyImage.jpg")
To save the memo to a file, use StrToFile().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)