I use TDBF extensively in my Accounting project front end to firebird .

The assignment to "result" as below is not robust as it will reject a Tdatetime that has zero time element.****************************************************************************************************************** Result := (Unaligned(PInteger(Src)^) <> 0) and (Unaligned(PInteger(PChar(Src)+4)^) <> 0);******************************************************************************************************************

SEE ALTERED SOURCE BELOW- THERE IS A ROBUSTNESS ISSUE

as the function GetFieldDataFromDef requires a time value other than zero to process correctly where FDateTimeHandling is set to dtDateTime .

Can you please provide us the compilable source for us to try? You can write a demo project that shows the issue. Zip them (except the executable and lib folder) and send it to this forum. Please also provide the sample data.