Calvin Koh
New member
- Local time
- Today, 10:30
- Joined
- Nov 10, 2007
- Messages
- 2
Dear all,
Would be grateful if any VBA experts can give some hints or tips on a Treeview. I have created a treeview (after a lot of searching and reading, using the most simple code which I do not understand) from a table. The actual table contains about 1000 lines of cardiac diagnosis.
How do I:
1) click on a node on treeview so that it will fill a field in the form with focus-it is something to do with GotFocus?
2) would like to have a search, collapse and expand function if possible (copying from other example can't seem to work).
Please help me.
Appreciate any help or guidance.
Attached an example here.
Thank you
Would be grateful if any VBA experts can give some hints or tips on a Treeview. I have created a treeview (after a lot of searching and reading, using the most simple code which I do not understand) from a table. The actual table contains about 1000 lines of cardiac diagnosis.
How do I:
1) click on a node on treeview so that it will fill a field in the form with focus-it is something to do with GotFocus?
2) would like to have a search, collapse and expand function if possible (copying from other example can't seem to work).
Please help me.
Attached an example here.
Thank you