Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show image from memo field
Message
From
30/12/2012 15:15:37
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01560901
Message ID:
01560931
Views:
91
>See this Re: How to print image from a blob field Thread #962468 Message #1558963

Thank you. I created function below and added showimage(typable.logo) to report. It worked with both old and new report engines.
Is this best solution ?
FUNCTION ShowImage(bimage)

RETURN CREATEOBJECT("PrintImage").refresh(bimage)
ENDFUNC

DEFINE CLASS printimage AS image
PROCEDURE refresh(Pictureval)
this.PictureVal=m.Pictureval
RETURN m.this
ENDPROC

ENDDEFINE
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform