sAnomalies est une chaîne
HExécuteRequête(REQ_Num_Anomalies,hRequêteDéfaut,RUB_Idhydrant)
HExécuteRequête(REQ_Anomalies_hydrant,hRequêteDéfaut,RUB_Idhydrant)
//ici on concatene les lib trouvé
POUR TOUS REQ_Anomalies_hydrant
//on positionne sur l'anomalie liée
SI sAnomalies <> " " ALORS
sAnomalies += REQ_Anomalies_hydrant.anomaliesHydrant
sAnomalies += "; "
FIN
FIN
//ici on affecte sanomalie à un champ de l'état
LIB_LIBELLE1 = sAnomalies
Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=18&topic_id=5677&post_id=23286