Solved
TreeView question: How can i implement this? (need help!!!)
Posted on 2004-08-22
Hi folks,
I have a MS Access that contains a table called CUSTOMERS.
The table CUSTOMERS contains 3 fiels: NAME, DATE and PRODUCTS. The field products store the products that the CUSTOMER bought. Ok. This is my database and my table.
My question is: how i put that information in a TreeView object? More clearly, the TREEVIEW must be similar to:
+ CUSTOMER 1
+ CUSTOMER 2
...
If the guy click on the plus signal of the CUSTOMER 1, the TREEVIEW change to:
+ CUSTOMER 1
- Name
- Date
+ PRODUCTS
+ CUSTOMER 2
If the guy click on the plus signal of the PRODUCTS, the TREEVIEW change to:
+ CUSTOMER 1
- Name
- Date
- PRODUCTS
- PRODUCT 1
- PRODUCT 2
+ CUSTOMER 2
Do you imagine how can i do that? Please, if you know some component, i deeply ask you for dont only put the name, but the example too, because i´ve tried many components and i didnt get work with them.
Thanks very much and best regards.