Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I use crystal reports in a web app? 1

Status
Not open for further replies.

Custom24

Programmer
Nov 27, 2001
591
GB
Sorry but from the help I cannot figure out how get started with this. All I want to do is a simple pie chart to show the results of a query.

Anyone any pointers?

Mark
 
Thanks Alcar

It seems a little like overkill for what I want to do, but I might as well learn to use it. I've never used Crystal Reports (or any reports really) before, so it will be interesting...

Mark
 
Although there's a bit more of a learning curve, I'd urge you to look into creting XSLT outputs for reports as well. Although there's quite a bit of overhead and learning curve to xml, learning it is VERY beneficial, and you can generally do alot more with how you want the report to look than you can with CR.

Jack
 
OK Jack, but for the moment I just want to get this project finished. Thanks

Alcar - thanks for that, but it's driving me mad.

I have a view in my Oracle database (basically its the same as a query in MS Access) which gives me the data I need. It produces two fields and the source is something like this

Select Name, Count(Name) from Entries group by Name

So it does the hard work - I only want Crystal to show the resulting table as a pie chart.

I can get it to show the count field as a pie chart, but I cannot see how to get it to label the segments correctly, since it is just plain refusing to accept the Name field when the combo is set to "For each record"

Any idea? Am I making any sense?

Thanks in advance

Mark
 
Can you do something like this:

Select Distinct Name, Count(Name) From Entries Group By Name

That way, you'd have one record for each name, but also the count of that name in the table.

Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top