Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Canceling a Report Request

Status
Not open for further replies.

angi

Programmer
Apr 14, 2003
9
US
I was wondering if anyone knows if the following is possible, either via a Web preference or via .asp page modifications.

When a user executes a prompted report and receives the "Wait" page, they have the option to select the "Cancel this request" button. If they select this button, they are automatically returned to the report list that the report originally came from. What I would actually like to do is return the user to the prompt page (with the user's original prompts still filled in). More often than not, our users will want to return to their prompts to make slight modifications. In the current environment, users being returned to the report list forces them to re-select the report and re-enter all of their prompts. Any thoughts?

 
Hi angi!

Yes it is possible to do that changing your ASP code.
I will give you a guide line:
1. Catch the prompt answer at "PromptCuLib.asp"
The prompt answer will be a xml code.
2. Create a session and load it with the prompt answer
In this session you will hold the user answer.
3. Edit the "Wait.asp" and add the button linking to the previous report/document.
Obs: In this link add a querystring like: "&repromptagain=true"
4. Edit the "PromptCuLib" again and add a "if then else" statement. The condition is if repropmtagain = true then reprompt applying the session value (user previous answer).

fukudahs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top