Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Converting .RDL files to .RDLC files


Converting .RDL files to .RDLC files

Author
Message
tsmith-960032
tsmith-960032
SSC-Enthusiastic
SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)

Group: General Forum Members
Points: 110 Visits: 217
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.
Gift Peddie
Gift Peddie
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4144 Visits: 14456
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
tsmith-960032
tsmith-960032
SSC-Enthusiastic
SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)

Group: General Forum Members
Points: 110 Visits: 217
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
Gift Peddie
Gift Peddie
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4144 Visits: 14456
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
tsmith-960032
tsmith-960032
SSC-Enthusiastic
SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)SSC-Enthusiastic (110 reputation)

Group: General Forum Members
Points: 110 Visits: 217
Ok. Here's a probably stupid question, but, how do you "clone" an rdlc file, and at the same time alter its data????
Gift Peddie
Gift Peddie
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4144 Visits: 14456
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
rmauwe
rmauwe
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search