Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: CR Data after closing Post Reply Post New Topic
Author Message
robhoeppner
Newbie
Newbie


Joined: 03 Dec 2012
Online Status: Offline
Posts: 4
Quote robhoeppner Replybullet Topic: CR Data after closing
     Posted: 03 Dec 2012 at 12:55am
Hey guys,
i've got a problem, i couldn't find any solution for. My Crystal Report is showing data from two DataTables, everything works fine.

The problem occurs when i close the report and open it up again, or another one. In this case, the newly opened report contains Data from the report i opened at first.

The DataTables provide the right data but somehow the report remembers the old data. i'm calling the dispose() and Close() method for the crystal report document and for the report viewer control but the data still remains.

Hope anybody can help with me with that.
greetings
robert
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 03 Dec 2012 at 3:38am
go to File, Save Data with Report, is that checked? also check, File->Options->Reporting->Save Data With Report

you can always check 'Discard Saved Data on Open'
IP IP Logged
robhoeppner
Newbie
Newbie


Joined: 03 Dec 2012
Online Status: Offline
Posts: 4
Quote robhoeppner Replybullet Posted: 03 Dec 2012 at 4:11am
'Discard Saved Data on Open' is checked. so he should remove the old data at opening. the other point you mentioned, i couldn't find.
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 03 Dec 2012 at 4:17am
There are multiple areas where you could be 'Save Data With Report' check the help pages, and uncheck the fields then
IP IP Logged
robhoeppner
Newbie
Newbie


Joined: 03 Dec 2012
Online Status: Offline
Posts: 4
Quote robhoeppner Replybullet Posted: 03 Dec 2012 at 5:01am
so i did this, i also found this link on the web
http://keptin.net/crystaldecisions/crystalreports/savedatawithreport/index.html

but in my CR version, there is no such option. i looked up everything
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 03 Dec 2012 at 5:03am
Well, I have seen this one or two times, reload the report with new parameters and run a few times, then run with empty parameters and save it.

See if that fixes.

Otherwise can you refresh the report in business objects.

Edited by comatt1 - 03 Dec 2012 at 5:03am
IP IP Logged
robhoeppner
Newbie
Newbie


Joined: 03 Dec 2012
Online Status: Offline
Posts: 4
Quote robhoeppner Replybullet Posted: 03 Dec 2012 at 5:20am
Yes i gonne try it with a new report file, fresh from start. also running it a few times with empty DataTables didn't changed the behaviour.
What do you mean with refresh the report in business objects?
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum