Open Visual Studio Crystal Reports Wizard for created RPT files - c#

I'm using Crystal Reports (v 13.0) Wizard to create some RPT reports.
When I add a new .rpt, VS start with the Wizard. Then when the Wizard procedure ends it generates the .rpt file.
I want to know if it is possible to open again the created .rpt file with the Wizard showing the settings I made before, to be able to change them.
If I double click the .rpt file it opens inside the Report view like this:
I tried with right click on the .rpt and the .cs but I found no options like "Open with Wizard..." or so. Is it possible?

With right click on the report in design mode there are many options in the context menu: Database Expert..., Selection Expert... and so on.

Related

Asp.net Crystal Reports changes to child reports not showing in vs2017 debug/release mode

Similar to the user in my first link, I've inherited an ASP.NET web application which displays reports using Crystal Reports. I was asked to edit some of the reports and make some new ones but my subreport changes are not being displayed when the report is called with the site running in the IDE. I realize from what I've read that the .rpt files are rolled into the DLL but how are the parent report changes working and the subreports changes not?
The report(s) I'm working on is/are a parent report that outputs information and then has 5 embedded sub reports (child?) that output the rest. (All of the report is shown in PDF format.)
I had originally not been able to see changes to either the parent or children reports but yesterday I discovered (4th day working on this problem) that when I changed the Solution Configurations dropdown from Debug to Release my changes to the PARENT report ARE correctly showing in the running site IDE. However, no matter what I change for the child reports the code that is running is the code that I was originally given/compiled and does not contain any of my subreport .rpt changes. The running file(s) has/have to be on my computer somewhere, I brought all the code here from nothing and it builds and runs in my IDE.
Things I've done/checked:
Both the child and parent report .rpts that I am editing reside in the same directory. They are in solution\subproject\Reports. I have verified changes to the files modified immediately after making a change.
I tried Starting/Stopping the IDE
I tried Starting/Stopping the computer
I tried Publishing the project after Rebuild. Publishes with no errors but the subreport changes do not show up.
I tried right clicking the individual .rpt file and choosing 'Publish ReportName.rpt'. Gave errors stating that the bin/Release/PublishOutput Web Site does not exist.
In the properties pane:
The Build Action for all the .rpt files is set to 'Content'.
I changed the Copy to Output Directory property to 'Copy Always'.
As soon as I start the site via the IDE the changed files are copied to:
solution\subproject\bin\Reports\
Now that I have the Solution Configurations dropdown set to Release, the corresponding Build/Configuration Manager is set to Release. The Platform is Any CPU and all Build checkboxes are checked. (None of the Deploy checkboxes are checked.)
I have not tried 'Deleting ASP.net temp files'.
My research includes this:
Crystal Report Not Showing Changes to Report
Then this:
Crystal Reports in ASP.NET 2.0 app - report changes not showing
Also saw something on an SAP site but lost the link...
As Franck indicates above:
'Did you update the subreports in the main report or just the subreport files separately. If you did update separately you need to open the main report and right-click the subreport and choose Re-import Subreport.'
Editing the subreport, Re-importing and rebuilding the site allowed my changes to be seen while running the IDE! Thank you so much!

C# the report definition has not been specified

I have a report tool that displays a lot of RDLC reports and I'm trying to add a new one and I can't see what I'm missing. I have the report included in the Project (I see it along with all the other RDLC reports in the Solution exporer).
This code for older reports works fine.
rvReports.LocalReport.ReportEmbeddedResource = "paylocity.id.eStart.EditSummary.rdlc";
However, this gives me the error that the report definition has not been specified.
rvReports.LocalReport.ReportEmbeddedResource = "paylocity.id.eStart.EditSummaryByMngr.rdlc";
I've double checked that the case is correct for the file I created. Can someone else see something I'm missing?
Select the file in Solution Explorer and open its Properties (Right-click > Properties, or F4 or Alt+Enter). Ensure its Build Action is set to Embedded Resource

Rename a section in a Crystal Report in Visual Studio 2010

I have a Crystal Report in Visual Studio 2010. It looks like this:
I would like it too look like this:
How do I change the name of the section from ReportFooterSection1 to Section4?
Unfortunately the Section Expert has no option for renaming a section.
The .cs code that is associated with the *.rpt file does expose the section name and I can change it; unfortunately, when I reopen the .rpt file my changes are lost.
Open the .rpt file.
Open the Properties Window. (View > Properties Window).
Click the section to rename.
Rename it.

Issue Releted to Parameter in RDLC Reports

I have ASP.Net Application in Visual Studio 2008.
I have added Report Parameter in RDLC Report, I want to draw Parameter in my rdlc Report in Design View, but i dont find "Report Data Panel" in my ASP.Net Application... i Tried ALT+CTR+D but it doesn't work.
How can i draw Parameter in my RDLC Report design?
Thanks..
Try these steps
Open the rdlc file in Visual Studio
Click on View menu
Click on Report Data
To make the window display, it's easy to find, but in a slighty different place than the usual (not under the "Other Windows" section). It is located on the View menu itself, in my case, the last option on the menu, named "Report Data".
View --> Report Data
Reference: View Report Data window in Visual Studio 2008 / SRS 2008
Thanks for your answer : but i can't see "Report Data" option in View Menu in ASP.NET
i can see this option in Windows Application in Visual Studio 2008

How to create .rdlc files?

I am using Visual Studio 2010 for generating reports using report viewer... As I am totally new to this, I don't know how to create an RDLC file and how to use it... Also, please tell me that what the connection is between Report Viewer and rdlc
Please help me out. Thanks
To add an RDLC report do Project > Add New Item... > Reporting > Report. You can also use the Report Wizard which is on the same screen. RDLC has a large wealth of information you will need to know about, so you will want to start digging into the documentation.
Creating Client Report Definition (.rdlc) Files
Here is the answer http://msdn.microsoft.com/en-us/library/ms252067.aspx
To add a new report to a project
In the Project or Web Site menu, select Add New Item.
In the Add New Item dialog box, in the Installed Templates pane, select Visual Basic or Visual C#.
In the Templates pane, select Report or Report Wizard.
If you select Report, a blank .rdlc file is added to the project. For more information on how to design reports in Report Designer, see Reporting Services Reports in SQL Server Books Online.
If you select Report Wizard, the Report Wizard is started to guide you through the steps in creating a report. For more information on the Report Wizard, see Creating Client Report Definitions Using the Visual Studio Report Wizard.

Categories