Connecting Tech Pros Worldwide Forums | Help | Site Map

Treeview

Newbie
 
Join Date: Mar 2007
Posts: 1
#1: Mar 15 '07
I am getting a 2465 Run Time Error referencing my Set Object = Me!tvw.Object. It's not recognizinf tvw???

Moderator
 
Join Date: Oct 2006
Location: Australia
Posts: 7,748
#2: Mar 15 '07

re: Treeview


Quote:

Originally Posted by newtoVBA

I am getting a 2465 Run Time Error referencing my Set Object = Me!tvw.Object. It's not recognizinf tvw???

If that snippet is copied and pasted directly from your code, is it possible that you're confusing VB by using an object named Object? Seems like a really bad idea, at any rate.

What is the error message?

Oh, and what version of VB are you using?
vijaydiwakar's Avatar
Site Addict
 
Join Date: Feb 2007
Posts: 579
#3: Mar 15 '07

re: Treeview


Quote:

Originally Posted by newtoVBA

I am getting a 2465 Run Time Error referencing my Set Object = Me!tvw.Object. It's not recognizinf tvw???

use proper variable name
Reply


Similar Visual Basic 4 / 5 / 6 bytes