By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,835 Members | 1,488 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,835 IT Pros & Developers. It's quick & easy.

Can Crystal Report show dynamic picture?

P: n/a
Sam
Hello everyone,
I have a table, which contains a picture column, I put URL info into it.
"www.myweb.com/1.jpg..."
I want to show this picture in my crystal report, I find
some samples show the "static" picture in Crystal report,
No "Dynamic" one.
Can Crystal Report do that?

Thanks in advance.
Sam
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Tue, 23 Sep 2003 10:34:27 -0500, "Sam" <Sa*@directron.com> wrote:
I want to show this picture in my crystal report, I find
some samples show the "static" picture in Crystal report,
No "Dynamic" one.
Can Crystal Report do that?


What I have done for this - to add dynamic "custom" charts into
Crystal Reports - is create a typed dataset with an image column which
is *not* bound to a database, then (in the Designer) put this column
where I need it on the report. NB: Getting the size/scale of the image
right is a bit fiddly, but this seems like a general fiddly thing with
Crystal, rather than anything particularly because the images might be
dynamic.

In my code driving the report (in the codebehind page of the web page
containing the viewer), I construct the in-memory dataset, build the
image in memory - or in your case you would load it into memory from
wherever the physical chart is - put the image into a single row added
to the dataset, pass the dataset to Crystal, then it displays just
fine. Works with sub-reports too,just the same if you want several
dynamic images or charts on the same report.

It sounds like more work than it actually is ;-)

Hope this helps,

ted.h.

p.s. This is with CR.Net included in VS.Net 2002. I assume it will
work similarly in VS.Net 2003 if that is what you have.

--
Ted Harper [Fissile Software Pty Ltd] (Sydney, Australia)
Email: te********@yahoo.com
Phone: +61-418-442-342
Fax: +61-2-9686-4192
Jul 21 '05 #2

P: n/a
Dear Sam,

use a typed DataSet, put the graphic in the DataSet and use the DataSet as
DataSource for the Crystal Report.(Thats dynamic pur!)

With greeting

Thomas Wenning

"Sam" <Sa*@directron.com> schrieb im Newsbeitrag
news:uA**************@TK2MSFTNGP11.phx.gbl...
Hello everyone,
I have a table, which contains a picture column, I put URL info into it.
"www.myweb.com/1.jpg..."
I want to show this picture in my crystal report, I find
some samples show the "static" picture in Crystal report,
No "Dynamic" one.
Can Crystal Report do that?

Thanks in advance.
Sam

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.