Ok, I feel really stupid now, there is "code" behind the form. Did I just hear a great big duuuuhhhhhhh. I am sorry, my brain is not working this morning. By the way, this code was inside the form and not in an external module.
Option Compare Database
Option Explicit
'**************** Code...