Print Page | Close Window

crystal report viewer refresh in visual studio 201

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=16117
Printed Date: 26 Apr 2024 at 2:55am


Topic: crystal report viewer refresh in visual studio 201
Posted By: marcstrong
Subject: crystal report viewer refresh in visual studio 201
Date Posted: 08 Apr 2012 at 8:09am
Hi Guys

I've added the following code so my crystal report displays updated data:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load    

        CrystalReportViewer1.RefreshReport()       

End Sub

I've also removed check mark from "Save data in the report" checkbox

However, the report only refreshes some of the time.

Any suggestions to make problem go away would be much appreciated

Marcus



Replies:
Posted By: comatt1
Date Posted: 25 Oct 2012 at 8:11am
try in options,

Discard saved data on open



Print Page | Close Window