CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Before Update and Before Delete

Print topic Send  topic

Author Message
Steve
Posted: 09/23/2002, 11:18 AM

As ussually - Lacking Documentation!!!!!

ASP 3.0 and Templates.

In the Before Update and Before Delete Events (Server Side) of the Form I have some edit checking code. If the edit fails, I set the error message.

FormName.Erros.AddError "Error Message"

The Error message comes back great, but the Update or Delete has occurred.

Can't find Documaentation (which is Normal) on how to not only post an error message but to STOP THE UPDATE OR DELETE.

Any Thoughts...... Other Than the CodeCharge Studio Documentatin or Lack There of SUCKS!

Steve
Posted: 09/23/2002, 12:02 PM

Use EventCaller.UpdateAlled = False to stop Update

Also: DeleteAllowed, ReadAllowed, InsertAllowed

Code Charge also mentioned to me that they are working on better Documentation!


   


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.