DelphiRazor
DelphiRazor copied to clipboard
Check EOF after TDataSet.Next to prevent double-handling of last record
The check for EOF has been modified so it is called directly after the call to Next. Previously, the ForEach loop was accessing the last record in a dataset twice. Extra unit tests have been added to cover ForEach with datasets.
Thanks
Kevin Dean