Skip to Content
avatar image
Former Member

How to get refreshed report

Dear Friends,

I have attached my report in my .aspx file.

I am passing the condition through myCrystalReportViewer.SelectionFormula

It was showing all record's reports those are tested in CR2008.

But as soon as we have entered a new record through our web form, it is not displaying the report.

I have added "myCrystalReportViewer.RefreshReport()".

Then also it is not displaying the report for the new record entered, where as the previous records are running fine.

Can any one please tell what code should I add or steps in CR2008 to get this report after entering any record.

Thanks and regards

Edited by: Md. Mushtaque on Sep 1, 2008 5:03 PM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 03, 2008 at 05:26 PM

    Maybe the web form has not yet posted the new data to the database

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear The Panda,

      As per your reply I have followed all steps.

      Unchecked "Save Data with Report" in Sub Report

      Checked the Links between Sub Report and Main Report

      Now on calling the report from my web form only a blank page with TextObject's text is coming.

      I Could not understand that why this is happening or what is the concept behind linking a report from Web forms.

      How to get refreshed report?

      Well thanks for your reply, but now God knows how to solve this problem.

      Thanks again

  • Nov 04, 2009 at 04:45 AM

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

    Add comment
    10|10000 characters needed characters exceeded