afrausto
Posts: 66
|
| Posted: 09/29/2005, 5:21 PM |
|
Hello,
Does anyone know how to dynamically redirect a user to where they came from once they update/insert/delete a record from a record form?
I have two pages, each page has a grid that displays data differently but contains a link to the same record form to update records. I'm trying to figure a way to send the user back to where they came from when they click on an action button.
Anyone have any suggestions?
Using CCS / Asp / MS Access
Thanks,
Albert
|
 |
 |
dhodgdon
Posts: 80
|
| Posted: 09/30/2005, 7:23 AM |
|
You could use a URL parameter in the link to identify the page the user comes from. For the form, leave the Return Page parameter blank or set it to the name of the page the form is on and set the Preserve Parameters value to GET. Then in the Server After Update/insert/delete event for the form, test the URL parameter using the CCGetParam() function and redirect based upon its value.
There may be other ways.
_________________
Regards,
David Hodgdon
|
 |
 |
|