On Friday, 20. January 2012 12.49:01 IvankoB for-mse wrote:
> "Abort" works but disallows further deleting the value-duplicate
> record by "dataset.delete" initiated by a button on the form, via
> redisplaying the message box::
>
>   if find(0,vartostr(value),i1,true,nil) then begin
>    showmessage('Such unit name is already registered');    // <<< HERE
>    abort;
>   end;
>
I don't understand. Abort() in TField.OnValidate cancels further processing so 
there should be no value-duplicate record.

Martin

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to