Form Opening without Docmd.OpenForm Command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is really odd...

I have a piece of code that tabs from one control to another and as it
executes, it opens a form in my database that is not even being called.

I thought maybe the database was corrupt (since there is no code to open
this thing), and copied everything into a new database but it is STILL doing
it.

Has anyone ever ran across this odd behaviour before?

Thanks for any advice!

Lance
 
Mybe you running a macro that open the form, check the macro's you have mybe
one of them open the form, and then search where this macro is running from
 
Hi Ofer,

I think you got me on the right track.

It was indeed a macro called "macDisplayPleaseWait" that is launching the
new form. The problem was that when I do a search of the entire project for
that string, nothing is returned.

This is from a logon screen... is there some other place in the Options
where I may have accidentally set this?

Thanks for the quick reply!

LT
 
Ok, I found it. It was that stupid macro. Somehow it got into the After
Update event handler in the Properties window.

Thanks again Ofer for getting me on track.
Lance
 
Back
Top