|
@@ -1999,7 +1999,8 @@ begin
|
|
begin
|
|
begin
|
|
SetUniDirectional(AValue);
|
|
SetUniDirectional(AValue);
|
|
ClearIndexes;
|
|
ClearIndexes;
|
|
- FPacketRecords := 1; // temporary
|
|
|
|
|
|
+ if IsUniDirectional then
|
|
|
|
+ FPacketRecords := 1; // UniDirectional dataset does not allow FPacketRecords<0
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|