Hello,
in my database were some Fields of type DATE, which are null.
I tried
if (not FieldbyName('DTSTART').IsNull) then
begin
nextgrid61.CellBy['colProjectStart', iRowCnt].AsDateTime := FieldbyName('DTSTART').AsDateTime;
end;
if the Field is null, so the cell will not be filled, but in this case, the cell is always filled with "30.12.1899".
How can i prevent this and leave the cells empty?
Best regards
Frank