var
ABizURLs:Tstringlist;
lExpr: string;
begin
ABizURLs:=TStringList.Create;
//lExpr:='OrgSelect(OrgCondition('''+edit4.Text+'.PSM'', '''', ''''))';
//lExpr:='OrgChildren(OrgSelect(OrgCondition(''*.DPT'', '''', '''')), OrgCondition(''*.*'', '''', ''''), True)';
lExpr:= 'OrgSelect(OrgCondition(''*.DPT'', '''', ''''))';
business.Model.Org.OrgSys.OrgSystem.GetBizURLsByOrgExpr(lExpr,ABizURLs);
label2.Caption := '';
for i:=0 to ABizURLs.count-1 do
begin
label2.Caption := label2.Caption + #13 + ABizURLs;
end;
end
谢谢 |