Browse Source

* Added classname to assignparamtostream

git-svn-id: trunk@11494 -
michael 17 years ago
parent
commit
18b7043c1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-db/src/codegen/fpcgtiopf.pp

+ 1 - 1
packages/fcl-db/src/codegen/fpcgtiopf.pp

@@ -594,7 +594,7 @@ begin
       ptSet :
       ptSet :
         S:=Format('// Add custom set loading code here for %s from %s',[PN,FN]);
         S:=Format('// Add custom set loading code here for %s from %s',[PN,FN]);
       ptStream :
       ptStream :
-        R:=Format('AssignParamFromStream(%s,%s);',[SFN,PN]);
+        R:=Format('AssignParamFromStream(%s,O.%s);',[SFN,PN]);
       ptTStrings :
       ptTStrings :
         R:=Format('ParamAsString[%s]:=O.%s.Text;',[SFN,PN]);
         R:=Format('ParamAsString[%s]:=O.%s.Text;',[SFN,PN]);
       ptCustom :
       ptCustom :