CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Return Page Question

Print topic Send  topic

Author Message
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
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.