?
Solved

Reporting Services - run update query after report prompt

Posted on 2006-06-26
3
Medium Priority
?
1,482 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

752 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