Can MS report data be redirected?
I have a MS report control and I want to be able to take the data that would go to the (MS report control) UI in some cases to instead of being viewed, go to a file.
I don't see where that can be done but want to ask if anyone knew a way.
I tried look at the datasource from the report but I don't see where you can get the data back.
As the comment is suggesting you can programmatically render the report directly out to one of reporting services export format using the web service. There's an example here which renders out a pdf stream.
Related
I am looking into creating an sql database that extracts data from a web page. The webpage displays the data in either a table or CSV list.
The address of the page is
Online table/CSV
I am not entirely sure how to do this. I thought maybe to save the page as a text file then import it but I cannot save it. Am I missing something is there an easy way of doing this?
Apologies I should say that I will use the data in a asp.net application using VB in Visual Studio 2010. The SQL will will be SQL Server 2012.
EDIT - ok so I was informed to run the page in compatibility mode and the CSV will save which I have confirmed. I therefore need to be able to open the page using a vb console app and perform a save as. I have tried using the webclient control and I can create a file but it downloads the html of the page as well. How do I save the contents of the webpage as a csv or text file?
How can I find out where a Sharepoint Report is getting its data from?
Is it possible/easy?
I have a live report similar to one I am about to produce (it will use the same data source) but I do not know where this is coming from!
Thanks in advance!
The easiest is to just copy and rename the file, upload it and edit it in Report Builder on SharePoint. This way you will maintain the exact data source without needing to edit XML.
If you want to download it, go here Microsoft SQL Server 2008 R2 Report Builder 3.0
However, if you favour a text editor you can open the .rdl file to edit it.
Look in the XML for something like:
<DataSources>
..data source details here.
Where the data comes from
</DataSources>
<DataSets>
.. actual returned date definitions here, like columns.
What the data is
</DataSets>
i have read this article about custom report items(CRI)
http://msdn.microsoft.com/en-us/magazine/cc188686.aspx
The only problem is that CRI are only usable in reporting service and not in local reports. My question is it possible some how to use CRI in local reports( RDLC ). Also i am interested in which version of reporting service is this possible, if possible
Best Regards,
Iordan
Custom report items are not supported in .rdlc files. (http://msdn.microsoft.com/en-us/library/ms251712(v=vs.90).aspx) This is likely the approach taken by Microsoft because the ReportViewer used with these files is a free control, while more complex features like third-party controls are supported only on a full SQL Server report server.
One thing in particular I have done in the past to get around this is generate custom charts/controls/images etc. As images and then send them into the report as an image. Not an ideal solution but it works.
I've inherited a project (without a handy handover) that contains reports published to a Reporting Server (2005).
MY SSRS knowledge is 4 years stale, so I need your help.
I need to edit one of the published reports, is this possible?
I also want to peek into the Data Source on the RS, because that's probably where I can change stuff.
I'll add more info as I get a better understanding of what exactly to ask.
EDIT: I found a project for some of the reports, opened up in VS2005 BI.
Still, how do I see where the Data Source gets its data?
It brings back 56 fields but I don't know which tables/stored procs/queries are used to get these.
Yes you can.
1st - to edit the published reports: Browse to the folder containing the report source you want on report server (web server). On the right side click 'Show Details'. Now click the properties icon under the 'Edit' column. Near the bottom you will see two links: Edit & Update. Click edit and the source RDL file will start to download. This is the actual report source.
You can import this right into a VS2005 report project and have full access for modifications.
2nd - As to the project you found: After opening an RDL file for editing, click the 'Data' tab. directly under that you will see a drop down list labeled 'Dataset:'. A report can have one or more datasets. These are the actual queries that generate report data. Also clicking '...' will allow you to see other properties of each dataset, such as parameters, etc.
You can run a profiler on your server, then run your report. The profiler give you most info about your query or stored procedure.
The setup:
Multiple computers using an adp file to access a sql 2005 database. Most don't have a pdf distiller. An access form (plain form, not crystal) is created that needs to be saved as a pdf.
The only way I can think of is send a request from access to the sql server for a web page. Something like:
"http://sqlserver/generatepdf.php?id=123"
I'm trying to avoid the web page 'middle man'. Is there a way to generate the pdf in T-SQL? Anyone have any other ideas. I'm not looking for code, just methdology ideas.
Thank you
Save the form as a report, then use Access MVP Stephen Lebans free A2000ReportToPDF utility to convert it to a pdf file.
http://www.lebans.com/reporttopdf.htm
If they have Access 2007 they can download and install the free Microsoft Office 2007 Add-in to save documents as PDF or XPS.
http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&displaylang=en
Microsoft's ReportViewer client can generate pdfs natively.
It works inside of web pages and windows forms/wpf apps. You can programmatically trigger the export as well. The only downside is that you'll need to basically redo your form as a report.
I must admit that I did not get it: you want to export an Access form and its data into a PDF file? Your form is basically graphics, not text, nor report. Do you mean that you want this form to be included as (for example) a .png file inside a PDF file or do you want it to be a full PDF file inheriting objects from the original form and allowing things such as text search and so on?