Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show image from memo field
Message
 
 
To
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:
01560934
Views:
64
>>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
>
I don't know, but it's simple enough. I used this solution also.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform