PDA

View Full Version : asp and crystal report


pankaj
03-31-2003, 10:07 AM
How can I display a report(crystal report) on a asp page.

allida77
03-31-2003, 02:30 PM
There should be some examples when you install crystal on your machine. It is really alot of code to post.

pankaj
04-01-2003, 10:37 AM
hi allida ,
thanx for the sugg. I tried the code given in the sample pages. The page is working fine except that the chart which I have included in the .rpt file is not visible . The chart is visible if I run the report in the Crystal Report itself.

allida77
04-01-2003, 02:34 PM
Make sure the db fields you are using for your chart are correct and also contain data.

BigDaddy
04-01-2003, 03:22 PM
I've had to learn some crystal reports over the last couple of months.

Are you using the smartviewer ActiveX example?

How are you passing in the parameters for your query?

I may be able to help. What is the error you're getting?

Can I see the code?

pankaj
04-03-2003, 05:13 AM
thnx daddy,
I can not post the code as my company policy prevents it,
but it is essentially the same as that is given in the segate/crystal/samples/aspsamples/adorecordset.asp which comes when crystal report is installed. I just changed the connection string and the query.

BigDaddy
04-03-2003, 02:09 PM
Is other data from the database showing up besides the chart?

Is it just a blank screen, or are you seeing other parts of the report?

pankaj
04-07-2003, 05:50 AM
yes I can see al other sections with the data only the chart is not visible.
Sorry for replying late