CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Redirecting to a certain page based upon status

Print topic Send  topic

Author Message
Barry G. Sumpter
Posted: 05/23/2002, 1:12 AM

This is a multi-part message in MIME format.

------=_NextPart_000_005A_01C2028E.03585F50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
Still improving my BugTracking app as necessity requires.

At the moment I have a huge bugTrack Record form.

I'd like to redirect the grid form to a certain page based upon its =
status.

Like 'New' status goes to 'Project Leaders Record.asp'
'Assigned', 'Investigating', 'Work In Process', and 'Returned' =
staus goes to 'Developers Record.asp'
'Ready to Test' status goes to 'Testers Record.asp'

Preferably, with just CodeCharge and Not scripts.

Otherwize, I'm happy to look at samples?

Any tested examples?

If not, any advice?

Thanks,
Barry G. Sumpter



------=_NextPart_000_005A_01C2028E.03585F50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>    Still improving my =
BugTracking=20
app as necessity requires.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>At the moment I have a huge bugTrack =
Record=20
form.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I'd like to redirect the grid form to a =
certain=20
page based upon its status.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Like   'New' status goes to =
'Project=20
Leaders Record.asp'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>        =
'Assigned',=20
'Investigating', 'Work In Process', and 'Returned' staus goes to =
'Developers=20
Record.asp'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>        =
'Ready to=20
Test' status goes to 'Testers Record.asp'</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Preferably, with just CodeCharge and =
Not=20
scripts.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Otherwize, I'm happy to look at=20
samples?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any tested examples?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>If not, any advice?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>    Barry G. =
Sumpter</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>

------=_NextPart_000_005A_01C2028E.03585F50--
Alexey Alexapolsky
Posted: 05/24/2002, 4:44 AM

This is a multi-part message in MIME format.

------=_NextPart_000_00B3_01C20330.098945E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It still requires custom code.
Not sure what the grid form is for in your case,
but looks like you should place this code in After Insert and After =
Update events of Record Form :

Select Case fldstatus_id
Case "1" response.redirect "1.asp"
Case "2" response.redirect "2.asp"
Case "3" response.redirect "3.asp"
Case Else response.redirect "4.asp"
End Select


--=20
Alex
CodeCharge Developer


"Barry G. Sumpter" <bsumpter@Bigpond.net.au> wrote in message =
news:aci89s$f51$1@news.codecharge.com...
Hi all,
Still improving my BugTracking app as necessity requires.

At the moment I have a huge bugTrack Record form.

I'd like to redirect the grid form to a certain page based upon its =
status.

Like 'New' status goes to 'Project Leaders Record.asp'
'Assigned', 'Investigating', 'Work In Process', and 'Returned' =
staus goes to 'Developers Record.asp'
'Ready to Test' status goes to 'Testers Record.asp'

Preferably, with just CodeCharge and Not scripts.

Otherwize, I'm happy to look at samples?
=20
Any tested examples?

If not, any advice?

Thanks,
Barry G. Sumpter



------=_NextPart_000_00B3_01C20330.098945E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>It still requires custom code.</FONT></DIV>
<DIV><FONT size=3D2>Not sure what the grid form is for in your =
case,</FONT></DIV>
<DIV><FONT size=3D2>but looks like you</FONT><FONT size=3D2> should =
place this=20
code in After Insert and After Update events of Record Form =
:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2> <FONT color=3D#ff0000>Select=20
Case</FONT> fldstatus_id<BR>      &nbs=
p;   =20
<FONT color=3D#ff0000>Case</FONT>=20
"1"    response.redirect "1.asp"<BR>  =
        =20
<FONT color=3D#ff0000>Case</FONT>=20
"2"    response.redirect "2.asp"<BR>  =
        =20
Case=20
"3"    response.redirect "3.asp"<BR>  =
        =20
Case=20
Else      response.redirect "4.asp"<BR=
>End=20
Select<BR></FONT></DIV>
<DIV><BR>-- <BR>Alex<BR>CodeCharge Developer</DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV>"Barry G. Sumpter" <<A=20
=
href=3D"mailto:bsumpter@Bigpond.net.au">bsumpter@Bigpond.net.au</A>> =
wrote in=20
message <A=20
=
href=3D"news:aci89s$f51$1@news.codecharge.com">news:aci89s$f51$1@news.cod=
echarge.com</A>...</DIV>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2>    Still improving my BugTracking =
app as=20
necessity requires.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>At the moment I have a huge bugTrack Record=20
form.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I'd like to redirect the grid form to a certain =
page based=20
upon its status.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Like   'New' status goes to 'Project =
Leaders=20
Record.asp'</FONT></DIV>
<DIV><FONT size=3D2>        'Assigned',=20
'Investigating', 'Work In Process', and 'Returned' staus goes to =
'Developers=20
Record.asp'</FONT></DIV>
<DIV><FONT size=3D2>        'Ready to =
Test' status=20
goes to 'Testers Record.asp'</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Preferably, with just CodeCharge and Not=20
scripts.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Otherwize, I'm happy to look at =
samples?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Any tested examples?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>If not, any advice?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Thanks,</FONT></DIV>
<DIV><FONT size=3D2>    Barry G. Sumpter</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00B3_01C20330.098945E0--

   


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

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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