Hello Leo,
I'm assuming you are using VFP version 6 or newer.
I would suggest that you avoid the general field for this purpose, and simply store the name of the file in a character (or memo) field in your table. You can use the image control on the form, simply set the Picture property to the name of the .JPG file you want to display.
For more information, check out the following threads:
Re: JPG files into foxpro general fields Thread #
575169 Message #
575184Re: JPG and GIF Problem Thread #
477527 Message #
477528Re: Inserting jpg pictures into tables Thread #
616407 Message #
617391Also, see FAQ #7862.
>Hello,
>
>I have a form where save a JPG image in a table, when I run the form in VFP plattform it works very well, but when I perform the setup disk and install the program in a computer without VFP at the moment that the user wants to save the image in the table it displays an error "OLE xxxxxx Server Error"
>
>I would appreciate if somebody could help me.
>
>Regards,
>Leo
Steve Gibson