mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 12:31:01 +02:00
* Don't fetch all records in detail dataset when master dataset is empty
git-svn-id: trunk@30887 -
This commit is contained in:
parent
ff56b81ad3
commit
6542cfe0ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user