Unwanted Code Being Added to Form

J

JamesJ

Access 2007 sp2.
I thought I seen it all.
For some reason code was added to the OnClose of one of my forms that I DID NOT put there!
The code is a 1 liner using the NavigateTo command.(irrelevant I believe).
I recall testing using custom Navigation Panes about a year ago but abandoned it. I recall having
code in the OnClose of my form(s) that switched to a different Custom Nav Pane. Why the heck the
code all of a sudden shows up in this form is way beyond me.
I don't even display the Nav Pane. The only time I see it is when I close all my forms.
I have 20 backups all done in this month. Only in the last 3 backups does this form have this code in it.
I only found out about it because it generated an error (again, irrelevant I believe).


Has anyone else ran into this??

James
 

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