Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetMethod()
Message
From
24/03/2002 09:02:59
 
 
To
23/03/2002 23:27:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00636499
Message ID:
00636586
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform