Michael Van Canneyt wrote:
This method takes care of the conversion TTimeStamp -> TDateTime because TDateTimeField sets calls GetFieldData with NativeFormat
set to False.

So we had to fix this in TDataset. I've done it, it's committed, if someone could please give it a test, I would be grateful.

This means that a TDataset Descendent always should use the OLD method, or must override the DataConvert method so it does NOT do the conversion again in the case of datetime fields.

Indeed, that's why Loesje said it's easier to fix it in Zeos just like it was done for TDbf: override SetFieldData, and pretend NativeFormat is true (or was it false?). Then it'll work with no overhead. We dislike code bloat for compatibility, right ? ;-)

Micha

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to