Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Should I "Save Data with Report" ?

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
I have an ASP.NET application that allows the user to print reports and displays the reports on a CrystalReportsViewer control. The report was created in Crystal Reports 10 and was later on added to the ASP.NET application.

In the Crystal Designer, the option "Save Data with Report" is automatically selected but the database contained only a few records during this time. Additional data is added to the database through the ASP.NET application. However, when the report is viewed, it displays only the that was present when the report was saved.

To solve the problem, I deselected the "Save Data with Report" option, but this introduced another problem. When the report is viewed, I get a page saying that I need more information to connect to the requested report, and I'm given an option to enter a user id and a password.

Am I missing something ? Please someone shed some light!

Thanks!

JC

_________________________________________________
To get the best response to a question, read faq222-2244.
 
A little suggestion on this.

When you have selected "save data with report",
this will shows always the records
which you have saved before you close the report,
and when you are opening the report again you will see
the records which you had saved.
(to get the new records you have to refresh your report)

When you have deselected "save data with report",
you will get always the design of your report which you have made,and to get records, you have to refresh again,
but a minimum point on this is you can't get
your old records anymore which you had on your report before you closed.

So, if you want to save the last records,
you have to selct this button and SAVE this report before you are closing.

Hope this explains you question,if not,
I'm affraid to say,I can't help you anymore [sad] or :-(

rgds,MHP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top