In
Curtis Stevens said:
I have a field name MID in my main table. Is that what you mean,
reference, forgot about that field being named that. Is that the
issue? Access is automatically Cap. the MID so not allowing it to
work? In other words, Mid will work, but not MID?
I'm not sure, but I think the problem is that Access *thinks* your use
of the word "mid" is a reference to the field named "MID". If that's
so, then as long as Access thinks that, it's not going to work. The
question is, is Access terminally confused, or is the field named "MID"
in the naming scope at the time this code is being executed? Where is
this code located? Is it behind a form bound to that table? Is it in a
standard module?
I could also be barking up the wrong tree here, but that's all I can
visually see that's fishy about your code. Since you posted it only as
an image, I can't paste it into a test module and see if there's
something I overlooked. I don't feel like typing it all in.