[AccessD] WithEvents - Why doesn't my Access like it?

John W. Colby jwcolby at colbyconsulting.com
Thu Nov 18 11:48:05 CST 2004


You copied and pasted from my demo and it is not compiling?

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris
Fields
Sent: Thursday, November 18, 2004 12:24 PM
To: DatabaseAdvisors-Access
Subject: [AccessD] WithEvents - Why doesn't my Access like it?


Hello all you gurus -
Is WithEvents not an acceptable keyword in AccessXP (file format Access 
2000)?  I am playing with code from John Colby's demos, and in my 
module, which is a straight copy of his, the line
"Private WithEvents mtxt As TextBox" is red, which usually means Visual 
Basic doesn't recognize the keywords I've used.  Is there a version 
problem possibly?  My VBA says it is 6.3.8863.  Any clues here would be 
very much appreciated.  It's especially confusing to me, since in John's 
code the keywords remain a nice blue.  What am I missing?
Tina

-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com






More information about the AccessD mailing list