cancel
Showing results for 
Search instead for 
Did you mean: 

How to get refreshed report

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

On entering the data through form it populates the list of all data in the form.

On clicking a record in the List the Report is called through Report Viewer, so there is no question of not saving of data in database

So, dear friend think, here I am getting all data displayed on the report only the sub-report data is not displaying.

If any one has any idea that what I am missing please do reply.

Thanks and regards.

Former Member
0 Kudos

sub report ? Didn't know that.

Make sure "Save data with report" is unchecked on the sub report

and check the links.

Determine the count of data returned when the links are right

and use this as your benchmark for a correct connection.

Sometimes "no data is returned" is correct ( and, of course, sometimes not

Hope this helps,

The Panda

Former Member
0 Kudos

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