Skip to Content
avatar image
Former Member

Issue with crystal report (asp.net 2003)

Hi,

I have some issues with crystal report in my web application (asp.net 2003) ....

In my web application, i have n no. of reports..say 10.. all work fine except 2 of them.

The issue with these 2 reports is that, though i can view them at run time, it displays incomplete data.

That is, when i load the report from my local drive, it shows incomplete data...using below code..

[CODE]crReportDocument.Load(ables.strDocPathFolder + "\" + "ABC.rpt")[/CODE]

But when i add this report to my project and run application, it works fine..using below code:

[CODE]Me.CrystalReportViewer1.ReportSource = Server.MapPath("ABC.rpt")[/CODE]

I want to load this report, and not to add it in my project..as this report can be changed anytime from outside.

Thanks to help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 15, 2008 at 04:23 PM

    Hi, Mohamed;

    Are you using any other code regarding the reports? ie, are you setting any selection formulas? How are you logging on to the database? Which version of Crystal Reports are you using?

    Best Regards,

    Jonathan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member David Hilton

      Hi David,

      Below formula is used in this report. Here i think if value is '0', then its preventing it from being displayed.

      iif ({@RptMonth} = {@CurrentMonth} AND {@RptYear}=2008.00,{@Amt}/1000,0)

      Kindly let me know what shall be done in this case.

      Thanks.