While on the page to edit, view, or submit a problem (helpdesk/rep/details.asp), after hitting the "Save Problem" changes, I would like to be taken back to the main rep menu page (helpdesk/rep). Currently, after hitting the "Save Problem" button, I'm taken right back to the problem I was just viewing. After hitting the "Save Problem" button, I'd like to be able to go right back to the rep menu or back to the problem list. How can I change that setting, or could someone please point me in the right direction?
lexguy: While on the page to edit, view, or submit a problem (helpdesk/rep/details.asp), after hitting the "Save Problem" changes, I would like to be taken back to the main rep menu page (helpdesk/rep). Currently, after hitting the "Save Problem" button, I'm taken right back to the problem I was just viewing. After hitting the "Save Problem" button, I'd like to be able to go right back to the rep menu or back to the problem list. How can I change that setting, or could someone please point me in the right direction?
Were you able to make this happen, or does anyone know if this is possible?
Thanks!
I wasn't able to find a solution. I'm not too experienced with programming, and I'm not even quite sure where to begin. I never received any other responses or even a place to start. Any help would be nice...
The quickest way I've found to do this is to add a line of code, using your favorite text editor, near the very bottom of the new.asp file, just after the cnnDB.Close line of code. (Sorry I mistated which line of code earlier.)
To go back to the menu:
if blnSubmitNew then Response.Redirect "default.asp"
To go back to the list of open items:
if blnSubmitNew then Response.Redirect "view.asp"
Thats cool. Nice little mod. :thumbsup
This works great for a new problem, but when saving a problem in the details.asp this just freshes the screen. Where would you place the code in the details page to return the rep back to their problems list?
You will need to put in the following code in the details.asp file to send you back to the list of problems while updating a problem.
if blnUpdate then Response.Redirect "view.asp"
Thanks!! Works like a charm!