Treeview Control

AndyV

Registered User.
Local time
Today, 05:13
Joined
Apr 24, 2008
Messages
32
Hi chaps, I am trying to include a treeview control in an app that handles customers, and I want the treeview to look in a folder on our network where presentations, documents etc. are stored (each customer might or might not have a folder, but the app creates the folders and documents so the folder structure for each will be the same once any docs are created).

I have managed to get the treeview to locate the top level folder for each customer when a for is opened for a single specific customer is looked for, but I have a couple of issues:

1) I have a form that cycles through all of the customers, and I need to reset the treeview when the user accesses each new customer record

2) I have not yet written any code to search for the documents under the top level folder. I did find an old post on this sits that had a mdb attachment, but there is a reference set to a .mde file that is not in the attachment. Has anyone used the treeview to acheive what I am trying to do. Is there a list of treeview syntax anywhere?

Any help appreciated.

Andy
 
I have found the answer to the first problem, using the On_Current event of the form, [TreeviewName].Clear removes all nodes.
 

Users who are viewing this thread

Back
Top Bottom