Policies $LabelsList

Forum destiné aux questions d'administration

Policies $LabelsList

Messagepar TBigJohn » 22 Jan 2010 à 11:43

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
Avatar de l’utilisateur
TBigJohn
Roi des posts
Roi des posts
 
Message(s) : 525
Inscrit(e) le : 03 Juil 2007 à 14:36
Localisation : Luxembourg

Messagepar [In://ForM] » 31 Jan 2010 à 18:18

Voui
Ouvrir le masque Policy sous Designer, lister tous les dblookup dans les champs se finissant par *Sets.
Faire un compact -D sur le names.nsf
Normalement OK après

Exemple de code correct
Code : Tout sélectionner
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))
[In://ForM]
 


Retour vers Administration

cron