Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Presentation of MEMO (bin) picture
Message
 
 
To
21/03/2000 08:31:52
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00348281
Message ID:
00348761
Views:
15
Karsten,
Sometimes it is a more direct solution to use a GENERAL field to render a picture. If you use a MEMO field then your going to have to do the extra step of extracting the photo to a temp file for each record that you want reproduced.

If you use a GENERAL field all the work is done when the image is added to the database. A general field includes the image plus a link to the OLE server (or you may include the OLE server code required to render the image with the image in the field). The size of the GENERAL field can become rather large in you ember the server code in the field so it is usually a better solution to just link to the OLE server:

Adding W/The OLE Server Linked:
APPEND GENERAL photo FROM (THISFORMSET.pic_name) LINK CLASS LEADServer.Image

Adding w/The OLE Server Embedded:
APPEND GENERAL photo FROM (THISFORMSET.pic_name) CLASS LEADServer.Image

The syntax includes the optional keyword 'LINK' as described above and the keyword 'CLASS'. The CLASS keyword refers to the OLE server's class name as recorded in the registry.

On your report use a picture/ActiveX Bound Picture field to render to image.

Good Luck
Ed Aguinaga
ARIS, Inc
ed@arismls.com
Previous
Reply
Map
View

Click here to load this message in the networking platform