W
What-a-Tool
I am trying to write a program that will take all the members of a data
base, add them to a tree, with all child relations as sub-nodes.
I am having a problem getting the parent child relations for each table &
query.
Dim tblCurrent As DataTable
Dim strTableName As string
For Each tblCurrent In Ds1.Tables
strTableName = tblCurrent.TableName.ToString
Next
This gives me my table names. I can also get column names the same way.
..GetXMLSchema shows me what I want, but I don't want to even think about
dissecting that string data to make it usefull to me.
How can I get the name of any parent or child tables for tblCurrent?
--
Thanks in advance for any help
/ Sean the Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)
base, add them to a tree, with all child relations as sub-nodes.
I am having a problem getting the parent child relations for each table &
query.
Dim tblCurrent As DataTable
Dim strTableName As string
For Each tblCurrent In Ds1.Tables
strTableName = tblCurrent.TableName.ToString
Next
This gives me my table names. I can also get column names the same way.
..GetXMLSchema shows me what I want, but I don't want to even think about
dissecting that string data to make it usefull to me.
How can I get the name of any parent or child tables for tblCurrent?
--
Thanks in advance for any help
/ Sean the Mc /
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)