Displaying a picture on a Report

mir_99

Registered User.
Local time
Today, 05:43
Joined
May 16, 2000
Messages
10
Displaying a picture on a Report

Hi !
i am facing a hurlde while displaying a picture on a report
i have placed an unbound object control on the the report to show the picture.
and have set the recordsource of the report through code
hence the unbound object control has to display the picture getting the picture name through the code.
whts driving me crazy is i wanna show the picture butits displaying a picture icon in it although i have set the property to show the content not the icon but still its not working
thanks for any help in advance
regards
imran
 
The way I do it :

In your table: use OLE datatype to insert your pic into relevant field, - this I presume you have done already?.

Then with your report, just use following with ControlSource -

=DLookUp("[OLE picfield name]","tablename","[ID of row in table]=Report![ID of row on report]")
 
The standard functions for the integration of graphics is sometimes not sufficient. Most problems can be solved with the Graphics Wizard at www.unsoftwareag.com
 

Users who are viewing this thread

Back
Top Bottom