Reset FRecNo after executing a new query, otherwise SetRecNo does nothing if FRecNo was already 0. Fixes issue #2009.

This commit is contained in:
Ansgar Becker
2010-06-14 21:50:27 +00:00
parent a6b761ba17
commit e359ad2f98

View File

@ -1662,7 +1662,8 @@ begin
end;
end;
end;
RecNo := 0;
FRecNo := -1;
First;
end else begin
SetLength(FColumnTypes, 0);
SetLength(FColumnLengths, 0);