Hi All,
I have a little question for all of you Access experts.
I would like to have a treeview in Access (XP), linked to a database table.
The table has the following columns:
Table name: TREECONTENTS
Columns:
ID: Text (KEY)
Parent: Text
Caption: Text.
Each node in the treeview has corresponds to a line in the dB.
- The ID column is the identification (unique, can be automatically generated).
- The Parent field is ... the ID value of the parent node. For nodes in the root of the treeview, this value is empty.
- The Caption field is the text that is shown in the treeview in the form.
Ideally, I'm trying to create this form (or component, or whatever), including functions to add, delete, update nodes in the treeview ... but this is for me (Access freshman) a tough nut to crack...
I'm sure that this is a "classical" piece of code, and that it is highly reusable ...
Thanks to help me out !
Cheers,
Marc.
I have a little question for all of you Access experts.
I would like to have a treeview in Access (XP), linked to a database table.
The table has the following columns:
Table name: TREECONTENTS
Columns:
ID: Text (KEY)
Parent: Text
Caption: Text.
Each node in the treeview has corresponds to a line in the dB.
- The ID column is the identification (unique, can be automatically generated).
- The Parent field is ... the ID value of the parent node. For nodes in the root of the treeview, this value is empty.
- The Caption field is the text that is shown in the treeview in the form.
Ideally, I'm trying to create this form (or component, or whatever), including functions to add, delete, update nodes in the treeview ... but this is for me (Access freshman) a tough nut to crack...
I'm sure that this is a "classical" piece of code, and that it is highly reusable ...
Thanks to help me out !
Cheers,
Marc.