* Fetch prior records if buffer is expanded at EOF (mantis 7934)

git-svn-id: trunk@6133 -
This commit is contained in:
joost 2007-01-22 22:17:17 +00:00
parent 79720fa7d8
commit 216150e2e1

View File

@ -877,6 +877,8 @@ begin
Writeln('Getting next buffers'); Writeln('Getting next buffers');
{$endif} {$endif}
GetNextRecords; GetNextRecords;
if FRecordCount < FBufferCount then
GetPriorRecords;
{$Ifdef dsDebug} {$Ifdef dsDebug}
WriteLn( WriteLn(
'SetBufferCount: FActiveRecord=',FActiveRecord, 'SetBufferCount: FActiveRecord=',FActiveRecord,