Kevin Roczey
|
Posted: 11/18/2003, 12:14 AM |
|
Hello,
First off, what an awesome piece of software!!
My question, I have 2 grids, each grid contains pieces of client data
pertinent to that grid. From each one of those grids I have a link to a
common Edit Record form. After I update the record, I would like to return
to the Grid that I was on when I linked to the Edit Record form. I am
running ASP and can't figure out how to conditionally return to the correct
grid. I just put the first grid in the Return Page so that at least it's
right 1/2 the time :) I'd rather not create seperate Edit Record forms and
just have one.
Any help would be appreciated!!
Thanks,
Kevin
|
|
|
DonB
|
Posted: 11/18/2003, 5:14 AM |
|
You could add a parameter onto each link to the edit page, that indicates
the one you came from (like src=1 or src=2) or you could pass the name for
the page instead of just a number.
Then in the before pageunload, change the value of the redirect variable to
point to the correct return page, based on the value of this parameter.
--
DonB
http://www.gotodon.com/ccbth
"Kevin Roczey" <kevin@prolender.com> wrote in message
news:bpckd9$b63$1@news.codecharge.com...
> Hello,
>
> First off, what an awesome piece of software!!
>
> My question, I have 2 grids, each grid contains pieces of client data
> pertinent to that grid. From each one of those grids I have a link to a
> common Edit Record form. After I update the record, I would like to
return
> to the Grid that I was on when I linked to the Edit Record form. I am
> running ASP and can't figure out how to conditionally return to the
correct
> grid. I just put the first grid in the Return Page so that at least it's
> right 1/2 the time :) I'd rather not create seperate Edit Record forms
and
> just have one.
>
> Any help would be appreciated!!
>
> Thanks,
>
> Kevin
>
>
|
|
|
|