* Don't fetch all records in detail dataset when master dataset is empty

git-svn-id: trunk@30887 -
This commit is contained in:
blikblum 2015-05-20 01:56:35 +00:00
parent ff56b81ad3
commit 6542cfe0ad

View File

@ -1449,7 +1449,7 @@ var
AFilter: String;
i: Integer;
begin
if not FMasterLink.Active or (FMasterLink.Dataset.RecordCount = 0) then //Retrieve all data
if not FMasterLink.Active then //Retrieve all data
FEffectiveSQL := FSqlFilterTemplate
else
begin