Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: james james
  Where is james james?
 
 Singapore
 james james
 Tags
Subject: RE: Append JPEG file to general field
Thread ID: 233279 Message ID: 233280 # Views: 47 # Ratings: 1
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Wednesday, July 01, 2009 7:20:35 AM         
   


> Hi,
>
> How to append jpeg image file into a general field. It works with bmp file but with jpeg files I can only see the icon. The table is a temp table use for print the image on a report. After the report is printed, the table will be removed. Thanks
>

Better avoid the General field type entirely, the concept was never working well, and in the meantime even MS recommends not to use it.
You can use FileToStr() instead, and store the file content in a BLOB or binary memo field. Or keep the file separately, and just store its full-path name.


hth
-Stefan



COMPLETE THREAD
Append JPEG file to general field Posted by james james @ 7/1/2009 7:14:40 AM
RE: Append JPEG file to general field Posted by Stefan Wuebbe @ 7/1/2009 7:20:35 AM
RE: Append JPEG file to general field Posted by james james @ 7/1/2009 8:15:50 AM
RE: Append JPEG file to general field Posted by Stefan Wuebbe @ 7/1/2009 8:31:25 AM
RE: Append JPEG file to general field Posted by james james @ 7/1/2009 9:15:47 AM
RE: Append JPEG file to general field Posted by Stefan Wuebbe @ 7/1/2009 9:42:12 AM
RE: Append JPEG file to general field Posted by james james @ 7/1/2009 12:40:37 PM