+ fix for bug

git-svn-id: trunk@4327 -
This commit is contained in:
joost 2006-08-01 21:46:43 +00:00
parent d5aa230395
commit d979196df0

View File

@ -93,7 +93,10 @@ end;
procedure TBufDataset.InternalFirst;
begin
FCurrentRecBuf := nil;
// if FCurrentRecBuf = FLastRecBuf then the dataset is just opened and empty
// in which case InternalFirst should do nothing (bug 7211)
if FCurrentRecBuf <> FLastRecBuf then
FCurrentRecBuf := nil;
end;
procedure TBufDataset.InternalLast;