Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2004, 03:31 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Discard Saved Data on Open”

Hi,

 I wanted to specify the option “Discard Saved Data on Open” in Crystal Report.
To do this, first I go to File > Options then select Reporting Tabpage.
Here I am trying to specify “Discard Saved Data on Open” option. After specify this option I saved the crystal report.
But when I open the report next time this option was unchecked.
How should we specify this option “Discard Saved Data on Open” permanenetly?

Regards

Juma

 
Old December 26th, 2006, 07:50 AM
Registered User
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I failed to replace report source in CrystalReportViewer in runtime.
When I run the program with another data, old data was load instead of new one.
How can I discard old data and load with new data?

Sample of code;

        strSql = "Select * From PyxisErrors"
        Dim myConn As New OleDbConnection(strConnPyxisErrors)
        Dim myAdapter As OleDbDataAdapter = New OleDbDataAdapter(strSql, myConn)

        myConn.Open()
        myAdapter.Fill(dsError)
        myConn.Close()

        tErr = dsError.Tables.Item(0)
        DataGrid1.DataSource = tErr
        Dim myReport = New CrystalReport2
        myReport.SetDataSource(tErr)
        CrystalReportViewer1.ReportSource = myReport







Similar Threads
Thread Thread Starter Forum Replies Last Post
saxon:discard-document problem mrame XSLT 4 September 15th, 2008 05:08 AM
Using saved query to do update kscase VB Databases Basics 0 June 7th, 2007 11:46 AM
Error After image is saved vickyhere ASP.NET 1.0 and 1.1 Basics 0 October 25th, 2004 01:45 AM
How to Discard a Keycode ? minhtri Classic ASP Basics 1 May 12th, 2004 09:28 AM
;nsbp saved when field blank Lee8mm VB.NET 2002/2003 Basics 5 July 22nd, 2003 08:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.