Update SQL Database from Report (SSRS / Catch Export Event) - sql

In an RDL file, if the user exports to PDF (let's say), I want to mark some rows from the report, in the MSSQL database, as being exported. Can I do that from the RDL itself?

The RDL is purely used for presenting the data. You cannot attach to the Export to PDF button in SSRS and then UPDATE the database.
An alternative would be to use an ASP.NET web page with the Report Viewer control with a custom button that exports to PDF and then calls some server side code to UPDATE the database with the marked rows.

Related

Export SQL database

I want to make a button on the HTML page that exports SQL DB from phpMyAdmin and put the data in excel sheet.
The Problem is I can't find the way to do that.
I want to implement it using PHP or JS

Crystal Report using XSD File as source doesn't show data?

I have a Crystal Report file I've created, using an .XSD file as the data source. As far as creation goes it's great, no problem. I can see the table and all the fields from it. I can drag them off the data explorer and onto the report.
The problem is when I go to preview or use the report. There's no data. Trying to browse the data in the data explorer? No data. But if I browse the XSD from within visual Studio, it shows me the data just fine.
Why am I not seeing any data from this report with an XSD as datasource?
Craig

PDF form using Cognos

We want to create a Cognos report which renders a PDF output with an editable text field. Some of the values in the report will be retrieved from Database and one editable text field should be available which a user can manually edit outside of the report studio using pdf editors.
How do we create this editable text field in cognos?
There isn't any method I'm aware of to do this shy of using some post-processing code external to Cognos to edit the PDF and insert what you're looking for in a particular location.
You would need to ask IBM to add an enhancement to Cognos to get this to happen.

Saving data in RDLC File

Can any one tell me if it is possible to save data inside an RDLC file, I am using the syncfusion Report Viewer and I want to be able to save the report it generates as a PDF, Execl ect but the problem we have is that we compute the values for the report, they are NOT COMMING FROM A DATABASE, so we tie them to a dataset and then generate the report, the problem I have found is that if I use the WFC service from Syncfusion to save the report and have to switch it back to remote then the data's not render.
Is there a free or payed for component out there that can take the RDLC file, DATA render the report then output a report that I can read in to the report viewer (output prefred RDLC with Data embed), looking at the example syncfusuion provide they have done this.
RDLC does't support to store data inside ReportDefinition.
FOR EXPORT
Due to some limintation platform itself can’t export report directly in Syncfusion ReportViewer in Silverlight , but through the WCF service can export the report .. Please find our online documentation section “How to export RDLC report in Silverlight “
Location here
This sample demonstrate export functionality inSyncfusion ReportViewer. Please find the sample from following location

How to configure ReportViewer so it can be exported CSV in ASP.NET?

How to configure ReportViewer so it can be exported CSV in ASP.NET (ReportViewer that comes from VisualStudio 2005/2008)? So it will be apart of current drop downlist? At the moment, it's only for Excel and PDF but not CSV.
Thanks
When you run Report Viewer in Local mode, you cannot export to anything other than PDF and Excel. If you want to be able to export to other formats, you need to run Report Viewer in Server Mode. The rendering is then done on the SQL server through extensions.
The only way to make Report Viewer export other formats in local mode, is by overriding the render class, and basically write a renderer yourself. This is quite complicated.
On a side note, you can also enable Word and HTML rendering through Reflection. Howerver, the rendering of images through this technique is a little sketchy. I tried doing this, and the images would not render properly.