473,703 Members | 2,815 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can Crystal Report show dynamic picture?

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
2 13447
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********@yaho o.com
Phone: +61-418-442-342
Fax: +61-2-9686-4192
Jul 21 '05 #2
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******** ******@TK2MSFTN GP11.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2239
by: Sandra Lambrechts | last post by:
We are using Crystal Report .Net to create our reports. We have inserted a picture on the Crystal Report, but when we export the report to a pdf-file to print the report, the quallity of our picture is very bad. We have already tried with jpg,with other resolutions,with an ole object but that doesn't resolve our problem. How can we put a picture on our crystal report, without losing quality when exporting to pdf? Thank you very much...
1
19175
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal Report at runtime? Example: private void button1_Click(object sender,
1
2773
by: Pablo | last post by:
Friends! I have to load an image in a Crystal, but its path must be passed as a parameter or sth like that so as to allow to show a picture dinamically. Example: i have a table 'Personnel', each person has its own ID and in a directory, i have a every JPG named with this ID. What i need is to show this picture. Thanks a lot Pablo
0
4490
by: Dr. Indera | last post by:
hello, i previously posted the questions below on several crystal reports newsgroups, including the one for the company that makes crystal reports, but never got an answer, so i'm hoping that someone on this board knows the answers to them. the questions are for the version of crystal that ships with visual studio.net 2003. if it helps, the reports that i create are in a visual basic.net project. it was recommended that i post the...
1
5835
by: Ron Holmes | last post by:
I posted this question on the Crystal Reports Support site and I am still waiting for an answer. Using Crystal Reports 9.0 Developer Full edition: My Crystal report .RPT file has a Picture box which is an OLE Object located in the Page Header section of my .RPT file. This is the call which works perfectly in VB6 to format the crystal reports Page Header section of my report file EquipLst.rpt.
0
426
by: Jason | last post by:
We are developing a VB.NET database application, using windows forms and Microsoft Access. The application requires dynamic reports, where the users change data on the forms, if a report is being shown it will automatically update. To do this we are using the .NET crystal report viewer, which loads a crystal report that we set it's data source at runtime using a dataset. If the user changes data on the data collection form, we update...
1
523
by: Sam | last post by:
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
1
1744
by: Amr Moselhy | last post by:
Hi Everyone i m trying to create a crystal report that contains a picture and this picture differs according to certain database information . the name of the picture to be included in the report comes from the database. the problem is that the picture can be added only in the design time , changing the name of the file in the run time doesnot change the contents of the picture . it seems that the contents of the graphic object is included...
0
2205
by: Saaima | last post by:
Hi All when I store a picture of size 800*600 pixels in database (SqlServer) field Photo (Image) and load it into crystal report through query by dragging and dropping the field on report it appears well but as its size is too large and when i resize it its resolution become so wrong to can not see image. such as in Employee photo in Employee record Actually i need a passport size photo on report. So i save a picture of this size and get...
0
8749
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8662
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9002
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8956
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7853
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2434
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2057
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.