p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: CR Problem ( Urgent)


Message #1 by "Arvind Pathak" <arvind_pathak@h...> on Tue, 18 Dec 2001 13:35:10 +0000
Hi Friends,



I am using Crystal Report 8.5 Version.

I have generated few reports using crystal report.But when I am doing any 

change to the table it is not reflecting in the report. I can refresh it 

mannually while staying in the report disigner,but while run time how to 

refresh it.



I tryed following code:



  Private sub Command1_Click()

    CrystalReport1.ReportFileName="D:\Report\ReportArv10.Rpt"

    CrystalReport1.Action=1

    CrystalReport1.DiscardSavedData = True

  End Sub



When I am writing code : CrystalReport1.DiscardSavedData= True than getting 

ERROR: "Cannot open SQL Server" and when I am doing uncheck the option in 

File menu for "Save Data with Report" while that time also I am getting same 

ERROR :" Cannot open SQL Server".





I hope somebody will help me out regarding my above problem.



Awaiting your guyes e-mail.



Thanks in advance



Arvind Pathak







_________________________________________________________________

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




  Return to Index