Data Member Not Found Error on Compile

J

JB

I have a form that is acting erratically. It works with some features
and not others. I was afraid it was corrupted since It had been
crashing the Access program and I could not trace what the problem was.
I decided to import an old backup version of the form and copy the code
off of the corrupt version.

Now when I compile the newly imported form, I get a "Data member not
found" error on a field Me.EpisodeAirdate. This field is on the form
and in the underlying data source. If I rename the field to
Me.txtEpisodeAirdate, then the compiler moves past the line. If I then
put the name back as Me.EpisodeAirdate, the compiler stops on that line
again. I do not want to rename this control because it affects a lot of
code in this form and others. This application and this code has been
in use for 9 months with no problem so I know that this problem is
related to bringing the code over and recompiling.

Any ideas?
 
J

JB

Well I tried anyways to rename all occurrences of Me.EpisodeAirdate to
Me.txtEpisodeAirdate and it still is not accepted by the compiler. Is
there another solution that is not too time consuming?

There are hundreds of lines of code behind this form and I can not
start over! I have multiple backups but I need to get the updated code
off of the potentially corrupt original form since I have made many
modifications in the latest update.

Can someone give me some direction? I have had two days of trouble with
this application and I need something to go right today.
 

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