Menu

#83 TDbfFile.InitDefaultBuffer - please correct

Win32/Linux
open
nobody
None
5
2016-02-04
2016-02-04
Karel Rys
No

Hi, in procedure TDbfFile.InitDefaultBuffer, please make these changes:

1) Set FNullField AFTER setting all fields to spaces or zeroes. Now you set FNullField to FFs and immediatelly overwrite it with zeroes, so the fields are not set to null.

2) Field of type 'T' (tDateTime) should be initialized to zeros, so please add 'T' to the CharInSet(... test.

Kind regards, Karel

Discussion


Log in to post a comment.