On Mon, 4 Apr 2011, Luiz Americo Pereira Camara wrote:

On 4/4/2011 10:28, michael.vancann...@wisa.be wrote:


On Mon, 4 Apr 2011, LacaK wrote:

Michael Van Canneyt  wrote / napĂ­sal(a):


On Mon, 4 Apr 2011, LacaK wrote:

Then please move approprate code at least into TCustomBufDataset.SetFieldData
Thanks

This code was already there.

Should the 'Validate' code be moved there too ?

Yes. TDataset descendants are responsible to calling Validate, e.g., zeos call it inside TZAbstractRODataset.SetFieldData.

One of the reasons of letting descendants call it it's too improve granularity so Validate can be called in the middle of the routine, as is in zeos, instead to force the call before the TDataset routine.

Ok. I will move the code.

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

Reply via email to