Solved

Reporting Services - run update query after report prompt

Posted on 2006-06-26
3
1,479 Views
Last Modified: 2008-01-09
After a report is viewed, I need to prompt the user if they want to mark these records as printed.  If they answer yes, I need to run an update query.  Is there a way to do this in Reporting Serivces?
0
Comment
Question by:ConSolIT
  • 2
3 Comments
 
LVL 14

Expert Comment

by:simon_kirk
ID: 16990799
Should be able to.  Use the genric query designer in your dataset and use something like

select * from yourtable
exec yourprocedure
where @updateparameter = 1

Create a parameter in the report that specifies the update.
0
 
LVL 2

Author Comment

by:ConSolIT
ID: 17094002
Sorry, I got busy on other projects and could not get back to this one.

I want to make sure I am understanding this method.

They will need to run the report once with the parameter set to false.  Once the report prints succesfully (data looks valid, no need to edit data and regenerate, no paperjams, etc) they need to run the report again with the parameter set to true?

Is there any way of having a message box pop up after the first run instead of having them run a second time (of course the problem with message box is that it would be modal and not let them select a menu option to print...hmmmmm..)?
0
 
LVL 14

Accepted Solution

by:
simon_kirk earned 500 total points
ID: 17167286
The Report Manager does not by default support pop-up messages.  Only way I can see to do this would be to incorporate your reports into your own ASP web page, with which you could add this additional functionality.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question