|
Re: Dynamic Image in report without using BLOB [message #157010 is a reply to message #155853] |
Mon, 30 January 2006 12:29 |
dude4084
Messages: 222 Registered: March 2005 Location: Mux
|
Senior Member |
|
|
HI
I try to help you by guiding through an example. Just learn from it and modify it according to you needs.
Step-1) Create a table and insert a sample row as follow
Create table test (ID varchar2(3), filename varchar2(255));
insert into test values ('123', '123.tif');
step-2) Make a simple report with the help of report wizard and using following SQL command
Select ID, filename from test;
Step-3) In layout mode, expand the field filename to make it a big square and change its properties in property palette.
Change >>>> Read from file = Yes
Change >>>> File format = Image
Step-4) Save ur report file in a folder
Step-5) Place 123.tif, the picture file, in the same folder where u have saved the report.
Thats all.
Now run the report and u will see the result.
I am attaching the sample report too.
Bye
Dude
|
|
|
|
Re: Dynamic Image in report without using BLOB [message #157162 is a reply to message #155853] |
Tue, 31 January 2006 12:05 |
dude4084
Messages: 222 Registered: March 2005 Location: Mux
|
Senior Member |
|
|
Hi
On reading post of Shaila.Mehra, i tried to run my created report (image_report.RDF) and to my big surprise it gave me the error.
In order to find the solution, i compiled it with short cut key CTRL+ T (or File > admininstartion > compile-file). Then i ran the REP file and WOW it was working.
I am also able to run succesfully image.REP (the complied version).
So, though, i got the solution but dont know the reason that why definition file (RDF) is not working but compilied (REP).
Any comments on it from experts are welcomed.
Dude
|
|
|
|
|
|