Welcome! Log In Create A New Profile

Advanced

Images in Reports

Posted by Paul Turner 
Paul Turner
Images in Reports
March 31, 2008 10:04AM
Hi all

I'm having assigning an image that is saved in a BLOB to a report image control. The syntax:

imagecontrol = filename.blobname

doesn't seem to work.

Any and all assitance appreciated.

Rgds
Paul.
Stefan Bentvelsen
Re: Images in Reports
March 31, 2008 09:02PM
Hi Paul,

I use the following code to print an image direct from a binary memo:

sHlp is string

sHlp=HInfoMemo(MyFile,element) // where element is the memofield
IF ExtractString(sHlp,1)="IMG" THEN
...iPrintImage(MyFile.element,0,iYPos(),iPageWidth(),iPageHeight(),0)
END

and it works fine for me ! It is not in an report, but may be it interest you.

Paul Turner
Re: Images in Reports
April 01, 2008 05:14AM
Hi Stefan

Thanks for your suggestion - it solved my problem.

Rgds
Paul
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: