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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to edit or erase the "MainReport" when previeweing the report

Status
Not open for further replies.

mondi

Programmer
Sep 10, 2003
169
AL
I have made a project that contains some reports. When I preview a report (with CrystalReportViewer), during runtime, there's a tab that is diplayed in the top of the report (just below the toolbar of the viewer). Also at the bottom of the reports are displayed also some other informations as "Current Page No", "Total Page No", and "Zoom Factor".
I think there might be a way to change their names or to delete them. Can anybody tell me if there is any?
Thanks for any help.
 
Please provide your development environment, version of Crystal and method of accessing the Crystal report, such as "I'm using the RDC".

Assuming you're using the RDC and CR 9, the viewer has several properties you might find useful. Review the "DisplayX" properties. The following code snippets illustrate their use:

CRViewer91.DisplayTabs = False
CRViewer91.DisplayToolbar = False

There are also properties such as EnableToolbar that might be helpful.
 
I am using Crystal Reports for .NET. I didn't understand you when you said "I'm using the RDC". Sorry for that.
There is no property DisplayTabs. And I know how not to show the toolbar, but that's not what I'm looking for. I want my report not to show the "MainReport". The "MainReport" is not shown in the preview until the report is loaded. So perhaps it has not to do with the CrystalReportViewer. I need to put off also the "Current Page No", "Total Page No", and "Zoom Factor" that are displayed in the preview, when the report is loaded.
As data source for my report serves an ADO.NET Data Set.
Thanks for any answers.
 
Hmmm...I'm not conversant in what is exposed to the developer in CR for .Net. If, however, you upgraded to CR 9, I would venture to say that you would be able to do as I suggested before. If that is not an option, perhaps someone else who has experience with the version of CR that ships with .Net will offer an answer.
 
Unfortuantely that's not an option or at least I can't find it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top