Hi,
I have created a treeview on a form, along with some fields from the database. The treeview is working as required (allowing nodes that are read from db to be opened and closed) however, I would like to be able to click on the lowest level node and display extra data (which is read from db) in the fields on the form.
When the form is started data is already populating the fields on the form, which is not what I want, as they should be blank until one of the lowest children nodes is clicked on.
I've discovered I can populate a new text box when a node is clicked on, but i'm not sure how to limit this so data is only displayed when lowest level node is clicked.
Also, I want to be able to edit the data shown and write the changes to the db.
Hmmm, any suggestions?
Donna.
I have created a treeview on a form, along with some fields from the database. The treeview is working as required (allowing nodes that are read from db to be opened and closed) however, I would like to be able to click on the lowest level node and display extra data (which is read from db) in the fields on the form.
When the form is started data is already populating the fields on the form, which is not what I want, as they should be blank until one of the lowest children nodes is clicked on.
I've discovered I can populate a new text box when a node is clicked on, but i'm not sure how to limit this so data is only displayed when lowest level node is clicked.
Also, I want to be able to edit the data shown and write the changes to the db.
Hmmm, any suggestions?
Donna.