Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display picture on image control from a table using VFP 7.0/8.0

Status
Not open for further replies.

gbaja

Technical User
Joined
Apr 7, 2009
Messages
9
Location
GB
1. I want to have a displayed picture on the image
control copied to a desired folder with the pointer of
the general field pointing to the new location of the
picture after saving it to a table using the image
control.



2. I also find it difficult to retrieve back the picture
from a table to the image control.

I used THisform.imgdisplay.picture=sample1.asd

sample1=table and
asd= general field


3. Whenever I save a .jpg picture, the OLE at the report
level display the picture with the name of the
picture horizontally at almost the middle of the
picture.

Help me pls.
 
don't use general fields, especially if you want to retrieve the pictures from the table again, general fields is a one way ticket. There is only APPEND GENERAL to insert it, you need to use low level file operatoins to extract an image from a general field.

Use a binary memo field and you can store the file to disk again and display that file.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top