>I have create a general field 'Mypicture' and have been able to insert and *.bmp file into it. However, I would like to insert the image via a program to allow the user to select from a dialog box and add the image themselves. So far, I have to open the general field and Edit->insert object- select "Create from file" and select the bitmap file to add.
>
>If there is a way to do this with a VFP command, it would be greatly appreciated.
>
>Thanks in advance,
>
>Craig
The reasons (I think) others replied recommending not to use general fields (I don't recommend them either), is mainly:
1) It is easy to get data into a general field. It is very tricky to get information back out again.
2) General fields take up too much space. A 50 KB JPEG (JPG) picture might make your database increase by more than a MB, for example.
3) With this size bloat, it is easy to pass the VFP limit, of 2 GB per file.
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)