/ Michael,
/>>/ do you plan do something else with this "OnValidate" problem ?
/
I thought I had done everything, or did I (again) forget something ?

There is IMHO unresolved original problem which is in fact,
that some TDataSet descendants implement call to Field.Validate in descendant's 
SetFieldData
(for example ZEOS in procedure TZAbstractRODataset.SetFieldData)

So if we leave call to Validate(Buffer) in TField.SetData ( http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/base/fields.inc?r1=17199&r2=17220 )

Then in case of these TDataSet descendants will Validate called twice.
(once in TField.SetData and second in descendant's SetFieldData)

Please look at diff's which are attached in my email from 13.4.2011.
(There are changes which we must/can do to fix it)

Thanks
-Laco.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to