Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Help! Displaying Images in Crystal Reports


Message #1 by "Deepa Das" <Deepa_Das@l...> on Thu, 6 Jun 2002 22:17:04
Hi,
   Can anyone tell me how to display images in a crystal report.I'm 
storing the images in the database, and I've put the Image field(database 
field) in the report, but it comes out blank.Any idea why?
    Any Links to articles on Crystal Reports or tips are appreciated.
Thanx in Advance,
Deepa
Message #2 by "Robert Horn" <robertho@m...> on Fri, 7 Jun 2002 09:07:47 +1000
I had the same problem. If you are using SQL there is a field type of image.
If you use this and insert it into Crystal it works.

An article in SQL said that you could use a long data type to store images,
but when you then try and display the image in Crystal, a square comes up
and it says it is a picture, but no picture appears. As far as I can see,
Crystal needs an image field type. Do some testing on the Employee table of
the Northwind database.
----- Original Message -----
From: "Deepa Das" <Deepa_Das@l...>
To: "ASP+" <aspx@p...>
Sent: Friday, June 07, 2002 8:17 AM
Subject: [aspx] Help! Displaying Images in Crystal Reports


> Hi,
>    Can anyone tell me how to display images in a crystal report.I'm
> storing the images in the database, and I've put the Image field(database
> field) in the report, but it comes out blank.Any idea why?
>     Any Links to articles on Crystal Reports or tips are appreciated.
> Thanx in Advance,
> Deepa

Message #3 by "Deepa Das" <Deepa_das@l...> on Fri, 7 Jun 2002 18:34:40
Thanx for the reply. but, that's what I am doing.I'm storing the image in 
an Image field in SQL server, and has put that field in the report, but it 
comes blank.Do I have to use some other special fileld to display this or 
just put this database field as it is.
 and, I've one more problem.When I try to export this report to a pdf 
file, it gives an error-" Error in File<PathName/Fle.rpt> Error detected 
by Export DLL" -.Ever come across this?...It was working alright in the 
beginning, then suddenly it stopped exporting...i'm going nuts..
Any help is appreciated.
Deepa




> I had the same problem. If you are using SQL there is a field type of 
image.
If you use this and insert it into Crystal it works.

An article in SQL said that you could use a long data type to store images,
but when you then try and display the image in Crystal, a square comes up
and it says it is a picture, but no picture appears. As far as I can see,
Crystal needs an image field type. Do some testing on the Employee table of
the Northwind database.
Message #4 by "Deepa Das" <deepa_das@l...> on Fri, 7 Jun 2002 19:06:06
i just found out that including the image is what gives the problem in 
report export.
 so, i'm back to, how do i include an image in a crystal report that's to 
be exported.

> Thanx for the reply. but, that's what I am doing.I'm storing the image 
in 
a> n Image field in SQL server, and has put that field in the report, but 
it 
c> omes blank.Do I have to use some other special fileld to display this 
or 
j> ust put this database field as it is.
 > and, I've one more problem.When I try to export this report to a pdf 
f> ile, it gives an error-" Error in File<PathName/Fle.rpt> Error detected 
b> y Export DLL" -.Ever come across this?...It was working alright in the 
b> eginning, then suddenly it stopped exporting...i'm going nuts..
A> ny help is appreciated.
D> eepa

Message #5 by "Deepa Das" <Deepa_das@l...> on Fri, 7 Jun 2002 21:57:23
including a gif image was giving the problem.bmp, & jpgs are working fine.

> i just found out that including the image is what gives the problem in 
r> eport export.
 > so, i'm back to, how do i include an image in a crystal report that's 
to 
b> e exported.

> > Thanx for the reply. but, that's what I am doing.I'm storing the image 
i> n 
a> > n Image field in SQL server, and has put that field in the report, 
but 
i> t 
c> > omes blank.Do I have to use some other special fileld to display this 
o> r 
j> > ust put this database field as it is.
 > > and, I've one more problem.When I try to export this report to a pdf 
f> > ile, it gives an error-" Error in File<PathName/Fle.rpt> Error 
detected 
b> > y Export DLL" -.Ever come across this?...It was working alright in 
the 
b> > eginning, then suddenly it stopped exporting...i'm going nuts..
A> > ny help is appreciated.
D> > eepa


  Return to Index