"On Current" event and ActiveX controls

B

Béru

Hi,

Using Access 2007, if I create a form and drop a treeview control on
it, then write an handler for the "On Current" event like this:
Private Sub Form_Current()
TreeView4.Nodes.Clear
End Sub

I get a "Runtime error 438 Object doesn't support this property or
method"

However, if I put the exact same code in an "On update" handler, or
even a button click event handler, it works fine.

Is there anything I can do to make things work properly in the "On
Current" event ?

Thanks,
Béru
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top