>>In your case it's expression or variable name. But I have a cursor field the blob field and many rows. Do I still pick the expression?
>
>sorry my mistake.
>I forget this old job.
>
>on help you can read
>---
>Expression or variable name
>Specifies that the control source should be an expression or variable that evaluates to:
>
>An image filename.
>
>A non-General character field.
>
>A string literal containing an explicit file name.
>
>An object reference to a form Image object that has its PictureVal property set appropriately.
>
>Tip
>The use of an Image object's PictureVal property as a image source in a report is only supported in object-assisted output mode. It will work in backward-compatible mode, in some cases, but results are not guaranteed. For example, in backward-compatible mode, Picture/OLE Bound controls with this source may not respect the Clip sizing option. For more information, see SET REPORTBEHAVIOR Command.
>----
>
>It is the image object that render the data.
>
>Then the solution is immediate ( the jpg file added is a report with 10 records )
>
>* create a dynamic image render
>DEFINE CLASS printimage AS image
>
> Height = 17
> Width = 100
> Name = "printimage"
>
> *-- Repaints a Form or control and refreshes any values.
> PROCEDURE refresh
> LPARAMETERS Pictureval
> this.PictureVal=EVALUATE(m.Pictureval)
> RETURN m.this
> ENDPROC
>
>
>ENDDEFINE
>
>PUBLIC oimage
>oimage=CREATEOBJECT("PrintImage")
>
>* set Report expression to
>* m.oimage.refresh("cursor.blobfield")
>
Thanks a lot again - this is what I am going to try once I finish with the Footprint I am working on right now.
If it's not broken, fix it until it is.
My Blog