can't find error

S

Sam

I have a form that on opening produces this error:

The expression On Enter you entered as the event property setting produced
the following error: The expression you entered has a function name that
can't be found.

There is no code on the On Enter event for the form or any control on the
form. When I put breakpoints in my form code, the error does not seem to be
coming from anything on the form (doesn't hit any of the breakpoints I set).
I've commented out my "On error..." statements so I can see any error
occurring in my code with no results. Any suggestions for what else I can try?

Thanks,
Sam
 
S

Sam

I finally found it. There was code from a public module on a different
control than seemed to be throwing the error.
 
J

John W. Vinson

I have a form that on opening produces this error:

The expression On Enter you entered as the event property setting produced
the following error: The expression you entered has a function name that
can't be found.

There is no code on the On Enter event for the form or any control on the
form. When I put breakpoints in my form code, the error does not seem to be
coming from anything on the form (doesn't hit any of the breakpoints I set).
I've commented out my "On error..." statements so I can see any error
occurring in my code with no results. Any suggestions for what else I can try?

Thanks,
Sam

If you look at the Form's Properties, what's on the Event tab for the Enter
event? If it's anything other than blank or [Event Procedure] you'll get this
error.
 

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