Method or data member not found

  • Thread starter Dale_Fye via AccessMonster.com
  • Start date
D

Dale_Fye via AccessMonster.com

I've recently started using Office 2007.

I have a 2003 database that I've been modifying in 2003, and up until this
morning everything was working well. Then I tried to compile the db and got
the message above.

The code it was highlighting was a reference to a control on one of the forms,
so I deleted the row of code and redid it, using intellisense to identify the
control name. I'm still getting the error. When I remark that line out, it
highlights a similar line, and on, and on.

The form still works, as does the code behind it when I make changes, but I
keep getting these compile errors. In 2003 there was an undocumented way to
export the form definition to a text file, and then reimport it. Does that
still exist in 2007? If so, how do I do it?
 
D

Dale_Fye via AccessMonster.com

Thanks, Allen,

That did it.

There was another control referenced on the line that I had somehow changed
the name of the control.


Allen said:
Dale, sometimes VBA highlights the wrong part of the line. Could the error
be elsewhere on that line?

A decompile might help:
http://allenbrowne.com/recover.html

The undocumented SaveAsText / LoadFromText is outlined here:
http://allenbrowne.com/ser-47.html#SaveAsText
I've recently started using Office 2007.
[quoted text clipped - 18 lines]
that
still exist in 2007? If so, how do I do it?
 
Top