Trying to name a treeview control!

Martyh

Registered User.
Local time
Today, 02:36
Joined
May 2, 2000
Messages
196
I am using a treeview control. When I press the View/Edit button (in the figure 1), I get the “Level” form.

My problem is that I do not know what/how to call the explicit Treeview control, so that I could make it equal to “me.LevelAbbrev” when I close the Level form. (assuming that I have made a change to me.LevelAbbrev - see figure 2)

Put it another way, I want “me.LevelAbbrev” to be carried across to the Treeview control. Is there a way to do this?

TIA
 

Attachments

Solved the problem!

Just after putting this up on the site, I came across this which solved the problem--

Forms![frmTV]![axTreeview].SelectedItem.Text = Me.LevelAbbrev

For those of you that are interested!!
 

Users who are viewing this thread

Back
Top Bottom