You are not logged in.
Pages: 1
Hello, in this unit there is a function called
TSynVirtualDataSet.GetFieldData in which a line was written like this
result: = Data <> nil; // null field or out-of-range RowIndex / Field
assuming that at some point the Data variable can be Nil
but below in the same function is the line when the field is type: ftDate, ftTime, ftDateTime
if PDateTime (Data) ^ = 0 then
when the data is Nil then it would be something like that
if PDateTime (Nil) ^ = 0 then
generating an error the compiler
and the condition is never met
Offline
Does https://synopse.info/fossil/info/7638b084a9 sound better?
Thanks for the feedback!
Online
ok perfect, thanks for the fix, this solves the problem when the date is null
Offline
Pages: 1