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?
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?