CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 How to print confirmation message after submit?

Print topic Send  topic

Author Message
teufel
Posted: 10/10/2002, 8:16 AM

Very simple, yet I don't have a clue:

- I have a form which when submitted performs many custom database operations (deletes, inserts, etc.).

- If these operations ARE performed successfully the same page with the same form should be shown to the user, with the difference that a confirmation message stating that the operation COMPLETED SUCCESSFULLY should be shown to the user (either above the form or where the form error messages are shown).

- If these operations ARE NOT performed successfully the same page with the same form should be shown to the user, with the difference that a confirmation message stating that the operation DID NOT COMPLETE SUCCESSFULLY should be shown to the user.

I just need to add an URL parameter and grab its contents into my label or error template var, when the page reloads, but how to do that?

Any hints?
Steve
Posted: 10/10/2002, 11:06 PM

One Possible Solutions. Let the page display as normal when transaction is successful. Rather Than use a URL parameter, use a session parameter. Place a lable on the form and in the before show event of the labe, set the label to the session variable and then empty the session variable.

I use this methodolgy in a couple of places and it works well.

   


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.