|
|
@@ -60,11 +60,12 @@ begin
|
|
|
Result := TLeafXmjGlRecord(sddLeafXmjGL.FindKey('idxView', VarArrayOf([AXmjID, AGLID])));
|
|
|
if not Assigned(Result) then
|
|
|
begin
|
|
|
+ //Result := TLeafXmjGlRecord(sddLeafXmjGL.Add(True));
|
|
|
Result := TLeafXmjGlRecord(sddLeafXmjGL.Add);
|
|
|
Result.ID.AsInteger := GetNewLeafXmjGlID;
|
|
|
Result.XmjID.AsInteger := AXmjID;
|
|
|
Result.GLID.AsInteger := AGLID;
|
|
|
-
|
|
|
+ //Result.EndUpdate;
|
|
|
with TProjectData(FProjectData).PhaseData.StageLeafXmjGlData do
|
|
|
Result.StageRec := StageLeafXmjGlRecord(Result.ID.AsInteger);
|
|
|
end;
|