By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,138 Members | 1,233 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,138 IT Pros & Developers. It's quick & easy.

Compile Error - Method or Data Member Not Found

P: 57
Upon trying to compile my db, I get the following error - "Compile Error - Method or Data Member Not Found" and it highlights the .backcolor of the following code

Expand|Select|Wrap|Line Numbers
  1. Private Sub Mentioned_Employee_GotFocus()
  2.  Mentioned_Employee.BackColor = 65535
  3. End Sub
I viewed my references and there are none that says MISSING. These are the ones I do have:

Visual Basic for Applications
Microsoft Access 11.0 Object Library
OLE Automation
Microsoft DAO 3.6 Object Library
Microsoft Word 11.0 Object Library
Microsoft Excel 11.0 Object Library
Micsoft ActiveX DataObjects 2.8 Library

I am running Access 2003 SP3.

Can't figure out which reference I'm missing!

Any help is appreciated!

Thanks
Oct 18 '07 #1
Share this Question
Share on Google+
3 Replies


Scott Price
Expert 100+
P: 1,384
Assuming Mentioned_Employee is a control (text box, etc) on a form:

Me![Mentioned_Employee].Backcolor

Regards,
Scott
Oct 18 '07 #2

P: 57
Thank you, Scott! The db has been in use for a couple of years and I just inherited it....which tells me it has never been compiled. And I just completely overlooked the Me! portion of it.

I appreciate it very much!!!
Oct 18 '07 #3

Scott Price
Expert 100+
P: 1,384
Glad it's working!

Regards,
Scott
Oct 18 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.