Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I know the depth a particular record is at (hierarchi
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How do I know the depth a particular record is at (hierarchi
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Miscellaneous
Thread ID:
01281252
Message ID:
01281252
Views:
55
Hi all

I have a self-joined kind of table where iID is the PK and iPID is the parent records FK in the same table.

Now I am at a particular record and I want to know how deep this record is in the heirarchy. The reason is I don't want to allow changing of the iPID for the first and second level records as they are default records and should not be disturbed.

Thanks and regards.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform