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!
|
|
|
 |
|