Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 16th, 2004, 03:31 AM
Registered User
 
Join Date: Jul 2004
Location: Karachi, Sindh, Pakistan.
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

Reply With Quote
  #2 (permalink)  
Old December 26th, 2006, 07:50 AM
Registered User
 
Join Date: Dec 2006
Location: , , .
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


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:01 AM.


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