Hi
I have a tv control that has different branches for different tables in a relational db.
I wish to be able to select any node and then enter a new child value that will also populate the underlying table. The question is, how do I identify which branch is selected and which underlying table that is from.
For example, If I select 'Manufacturer' and then type a new entry (Ford) into a text box, I want that entry to go into tblManufactures which will be reflected when the TV is refreshed, If I then select Ford and add a new entry then I wish for the entry to go into tblCars,but also to trap the primary key from the Ford record to keep the data related.
Root
---Manufacturer
------Ford
---------Focus
---------F150
---------Mustang
---------Explorer
------Ferrari
----------F40
----------F355
---Customers
------Mr Blonde
------Mr Brown
---Staff
------Jim
------Jack
------Paul
------Peter
How can I do this?
Thanks
bb
I have a tv control that has different branches for different tables in a relational db.
I wish to be able to select any node and then enter a new child value that will also populate the underlying table. The question is, how do I identify which branch is selected and which underlying table that is from.
For example, If I select 'Manufacturer' and then type a new entry (Ford) into a text box, I want that entry to go into tblManufactures which will be reflected when the TV is refreshed, If I then select Ford and add a new entry then I wish for the entry to go into tblCars,but also to trap the primary key from the Ford record to keep the data related.
Root
---Manufacturer
------Ford
---------Focus
---------F150
---------Mustang
---------Explorer
------Ferrari
----------F40
----------F355
---Customers
------Mr Blonde
------Mr Brown
---Staff
------Jim
------Jack
------Paul
------Peter
How can I do this?
Thanks
bb
Last edited: