Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetMethod()
Message
De
24/03/2002 09:02:59
 
 
À
23/03/2002 23:27:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00636499
Message ID:
00636586
Vues:
17
Hi Bill,

I think I would like to re-locate to LVNV in a few years, I hope there will be room for one more VFP'r anyway here you go:
LOCAL laObj(1), lcHierarchy, loObj

= ASELOBJ(laObj)
lcHierarchy = laObj(1).name
loObj = laObj(1)
DO WHILE TYPE('loObj.parent.name') = 'C'
	lcHierarchy = loObj.Parent.Name + '.' + lcHierarchy
	loObj = loObj.parent
ENDDO

? lcHierarchy
Glenn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform