Subject | Re: [IBO] How to validate data before a post and cancel that operation eventually? |
---|---|
Author | G. Nau |
Post date | 2005-06-22T17:27:14Z |
Am 22 Jun 2005 um 11:25 hat Woody (TMW) geschrieben:
that's it!
Thanks
Gunther
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
>Yep,
> Gunther,
>
> I usually use the OnBeforePost event of the dataset. If you need to
> cancel the posting of the record, issue a silent exception, something like
> Sysutils.Abort (in Delphi).
>
> HTH
> Woody
>
that's it!
Thanks
Gunther
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de