Prbl de retour
$LabelsList : document has been deleted ???
Quelqu'un aurait-il un moyen de passer outre ce prbl :
http://www-01.ibm.com/support/docview.w ... TMJ&mync=R
Merci
message:="<Policy>";
temp :=@DbLookup("":"NoCache"; ""; "($Policies)"; "PolicyRegistration"; 2);
Lookup :=@If(@IsError(temp); ""; temp);
repeat:=@Repeat(message+"||";@Elements(RegSets));
alldeletedlist:=@Explode(repeat;"||") + "|" + RegSets;
REM {this will replace all stored values with their alias. If the lookup alias is gone, then it wont convert it to to the alias, it stays the same};
listofdisplayedvalues:=@Replace(RegSets; @Right(Lookup; "|"); @Left(Lookup; "|"));
REM {replace all the deleted values with the new deleted alias and stored value piped separated by |};
listwithdeletedanddisplayed := @Replace(listofdisplayedvalues; RegSets; alldeletedlist);
REM {stripout the valid aliases with the append with all valid choices};
@Sort("" : @Trim(@Replace(listwithdeletedanddisplayed ; @Left(Lookup; "|"); "") : Lookup))