Re: Treeview, SVP ! besoin d'aide !!!

Posté par lmame le 20/12/2005 15:02:51
Salut :)
Il faut procéder un tout petit peu différemment...
Utilisez la clef de liaison entre les fichiers société et contacts (NomSociété je suppose?):
HLitPremier(Société,NomSociété) 
HLitRecherchePremier(Contacts,NomSociété,Société.NomSociété) 
TANTQUE HTrouve(Contacts) 
   ArbreAjoute (Arbre1,"Annuaire"+TAB+Société.NomSociété+TAB+Contacts.Nom,aDéfaut,aDéfaut)  
   HLitSuivant(Contacts,NomSociété) 
FIN 
HLitSuivant(Société,NomSociété)


Enfin dans le style comme ça en fait pour chaque société vous cherchez les contacts de cette société et vous les affichez.

Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=14&topic_id=3252&post_id=13789