CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Modify behavior of form buttons

Print topic Send  topic

Author Message
Teresa
Posted: 04/22/2002, 4:02 PM

I'm using asp and need to modify the buttons on a form to do the following:
1. Allow the insert button to remain on the current form to allow for
additional inserts.
2. Make the cancel button cancel an insert and return to the calling form.
3. Add an additional button to open a different form.

I have the insert button remaining on the current form for additional
inserts, but I'm not certain how to modify the cancel button and how to add
an additional button to open a different form. If someone could provide
some assistance, I'd really appreciate it.

Thanks...

Alexey Alexapolsky
Posted: 04/23/2002, 2:44 AM

Please describe your form environment.

1) What do you have now ? I mean where does your
record form action point to ? Insert button is not supposed to "stay"
anywhere since usually user is redirected to a different form.
Does your form action point to itself ?

2) Select Form properties/Events , select Before Cancel event ,
add code :

response.redirect response.ServerVariables("HTTP_REFERER")

3) This can be done only buy modifying html code generated by CC.
Alternatively, you may just add a hyperlink to Form/Header&Footer
section that points to a different form.

--
Alex
CodeCharge Developer


"Teresa" <teresawhlr@alltel.net> wrote in message
news:aa24ps$gae$1@news.codecharge.com...
> I'm using asp and need to modify the buttons on a form to do the
following:
> 1. Allow the insert button to remain on the current form to allow for
> additional inserts.
> 2. Make the cancel button cancel an insert and return to the calling
form.
> 3. Add an additional button to open a different form.
>
> I have the insert button remaining on the current form for additional
> inserts, but I'm not certain how to modify the cancel button and how to
add
> an additional button to open a different form. If someone could provide
> some assistance, I'd really appreciate it.
>
> Thanks...
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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