[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Reporting Services - run update query after report prompt

Posted on 2006-06-26
3
Medium Priority
?
1,487 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
How to increase the row limit in Jasper Server.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 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