Solved

Reporting Services - run update query after report prompt

Posted on 2006-06-26
3
1,475 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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.
How to increase the row limit in Jasper Server.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now