Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Converting .RDL files to .RDLC files Expand / Collapse
Author
Message
Posted Thursday, June 25, 2009 9:29 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 07, 2013 3:33 PM
Points: 74, Visits: 196
I got the below instructions from Microsoft, but, after #4 I'm lost. Does anyone have more detailed help????

Thank you

1. Rename the .rdl file to use the .rdlc file extension.
2. In Visual Studio 2008, open the solution or project that will contain the report.
3. Create or add the dataset that defines the data you want to use to your projector solution. For more information, see Creating Data Sources for a Report.
4. On the Project menu, click Add Existing Item and then select the .rdlc file that you created in the first step.
5. In the project, open the form or Web page that will contain the report.
6. From the Toolbox, in the Data group, drag a ReportViewer control onto the form or Web page.
7. In the ReportViewer Tasks smart tags panel, in Choose Reports, select the .rdlc file to use with the control.
8. In the ReportViewer Tasks smart tags panel, in Choose Data Sources, select the dataset you want to use. The dataset object, binding source object, and table object will appear at the bottom of the workspace. For more information about updating data source references, see Updating and Rebinding Data Source References (Visual Studio Report Designer).
9. Save all files, and then build or deploy the project to verify that the report contains the data you expect.
Post #741913
Posted Thursday, June 25, 2009 9:47 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Sunday, April 13, 2014 12:23 PM
Points: 3,433, Visits: 14,411
Number 4 in VS2008 takes some time to find your existing item but that could change if you created a folder for your project. I am assuming you know in VS2008 the ReportViewer code can only run in Remote mode which require SSRS license. If you are in VS2005 you can run ReportViewer in local mode with only SQL Server Express Advanced Services edition.



Kind regards,
Gift Peddie
Post #741937
Posted Thursday, June 25, 2009 10:06 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 07, 2013 3:33 PM
Points: 74, Visits: 196
Thank you for your answer.
As an addon to my question, I have another one.
Say you have an .rdlc file and you want to make changes to it, apart from formatting changes which I have already done.
Can you add fields, etc. without having to go back to the.rdl file, changing it there and having to convert the updated rdl to rdlc all over??? I am using VS2005.

Thank you
Post #741958
Posted Thursday, June 25, 2009 10:12 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Sunday, April 13, 2014 12:23 PM
Points: 3,433, Visits: 14,411
As an addon to my question, I have another one.
Say you have an .rdlc file and you want to make changes to it, apart from formatting changes which I have already done.
Can you add fields, etc. without having to go back to the.rdl file, changing it there and having to convert the updated rdl to rdlc all over???


My answer is just based on my experience, I find in SSRS development anything that changes the amount of data to be displayed it is quicker to clone the existing report because when I make changes even in BIDs I get strange errors, create a clone everything work as expected. This is assuming your new data comes back on the data pane.



Kind regards,
Gift Peddie
Post #741964
Posted Thursday, June 25, 2009 12:50 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 07, 2013 3:33 PM
Points: 74, Visits: 196
Ok. Here's a probably stupid question, but, how do you "clone" an rdlc file, and at the same time alter its data????
Post #742123
Posted Thursday, June 25, 2009 12:59 PM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Sunday, April 13, 2014 12:23 PM
Points: 3,433, Visits: 14,411
The first part of your time is in SMS ALTER Stored Procedure, Parse it then execute it if it returns your data then go to BIDs data pane and run the stored procedure if it runs then recreate the old report with relevant changes you want and use the new stored procedure. This also gives you a tool for comparison.





Kind regards,
Gift Peddie
Post #742131
Posted Tuesday, December 18, 2012 12:02 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, December 18, 2012 4:37 AM
Points: 1, Visits: 3
Hi Everyone,

Thanks for all the guides that you already posted about .rdl and .rdlc reports.

I have two issues with sql reports (Visual Studio 2008):
1. When creating .rdlc reports, how do I show parameters on the reportviewer control?
2. If I use SSRS, how do I link the reports to a windows application remotely?

Thank you in advance.
Richard
Post #1397579
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse