NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on April 01, 2008, 05:10:09 PM

Title: Validate a deletion from a browse - how?
Post by: CaseyR on April 01, 2008, 05:10:09 PM
Hi,

I have a browse that should allow deletions but subject them to validation before completion and inform the user if the validation fails and why.   Like the insert and update validation of a form. 

Does anyone know how to do this?

Any help greatly appreciated.  Thanks
Title: Re: Validate a deletion from a browse - how?
Post by: Bruce on April 02, 2008, 07:05:32 AM
Hi Casey,

I don't think I have too many examples of this,
but you can put your code into the
ValidateDelete routine in the form.
If the delete should fail, set the variable
Loc:Invalid
to something.
And set the variable
ANS = 0

Cheers
Bruce
Title: Re: Validate a deletion from a browse - how?
Post by: CaseyR on April 03, 2008, 04:53:11 PM
On the money as usual, Bruce.  Thanks.