The "Me" keyword in Access 2003 has recently started behaving differently. I can no longer refer to Controls within a Form by typing, say: "Me.Combobox1 = " I can, however, still control it by referring to the Form directly by typing "Form1.Controls("Combobox1") = " - This shows that the Control is definitely present on the Form in question.

This is specific to one project, and may be linked to the following question Inconsistent behavior for Me keyword

As in the above question, there are ActiveX controls present in my Database but, even after deletion, the "Me" keyword still retains its strange behaviour.

Can anyone think why this is happening / how to reverse it? Or a way to find out exactly what the "Me" is now referring to?

It's more annoying / time-consuming than anything else...

Thanks

有帮助吗?

解决方案

I've solved the problem, but I've got no idea why it's worked.

I have deleted the latest form that I had created (which only contained 3 ComboBoxes - no code). There was nothing special about the form, and nothing was incorrectly labelled as "Me".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top