function TTree_Info.Get_Children(father_id, Max_Row,
Min_Id: Integer): OleVariant;
var
obj:IDMTree;
ps:TParams;
op:OleVariant;
p:TParam;
recs:integer;
od:OleVariant;
begin
obj:=CoDMTree.Create;
ps:=TParams.Create;
p:=ps.Add as tparam;
p.AsInteger:=father_id;
p:=ps.Add as tparam;
p.AsInteger:=Min_Id;
op:=PackageParams(ps);
od:='';
result:=obj.AS_GetRecords('DSPTree',Max_Row,Recs,MetaDataOption+ResetOption,'',op,od);
end;