KeithG
AWF VIP
- Local time
- Today, 09:10
- Joined
- Mar 23, 2006
- Messages
- 2,592
I am designing a form with a treeview control and am looking for suggestions on how to setup my tables to store the information for the nodes. The issue is that a child node, can have children. So the Child can actual be a parent. So two tables with a one to many relationship doesn't seem to fit. Any suggestions? my table schema is below.
tblParentNode
NodeID- PK
NodeName
tblChildNode
NodeID - FK/PK
ChldNodeID - PK
ChldNode
tblParentNode
NodeID- PK
NodeName
tblChildNode
NodeID - FK/PK
ChldNodeID - PK
ChldNode