A simple On Current Event code that used to work just fine, started producing an error yesterday, that I do not know how to resolve.
Private Sub Form_Current()
[Mem_Name] = [Surname] & ", " & [Given Name]
End Sub
While making sure the "Use Wizard Controls" was active, the only thing I can think of that I did earlier yesterday, that may be related at all, was under the "Design > Controls > Active X Controls", which I clicked on to see what it was about. But, not knowing how to do anything with the resulting list, I simply canceled it. That may not have anything to do with the error. I don't know.
When I remove the On Current code, the error goes away. When I put it back in, the error returns. I have no idea how to find or fix the underlying problem, so the code will work again.
Apparently this problem is even broader than I originally thought. I now get the following error on the same form when I attempt to go to a record:
A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX Control.
Close the OLE server and restart it outside of Microsoft Access. Then try the original operation again in Microsoft Access.