Browse Source

* Also collect parameter fieldnames when master dataset is inactive, patch from Jesus Reyes, bug #12129

git-svn-id: trunk@12256 -
joost 16 years ago
parent
commit
2363357f80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/base/datasource.inc

+ 1 - 1
packages/fcl-db/src/base/datasource.inc

@@ -453,7 +453,7 @@ begin
       begin
       begin
       If Assigned(DS) then
       If Assigned(DS) then
         F:=DS.FindField(FParams[i].Name);
         F:=DS.FindField(FParams[i].Name);
-      If (Not Assigned(DS)) or (F<>Nil) then
+      If (Not Assigned(DS)) or (not DS.Active) or (F<>Nil) then
         begin
         begin
         If (FN<>'') then
         If (FN<>'') then
           FN:=FN+';';
           FN:=FN+';';