can't find macro '.' Access 2k form error

whatever

Registered User.
Local time
Today, 16:42
Joined
Jun 2, 2003
Messages
25
Greetings - some help required please:

I have an intermittent error occurring on an Access 2k form giving the error
message "cant find the macro '.'" although there are no macros on the form.
After much trawling around I believe this may be due to a space being
mis-keyed into one of the event properties of one of the form’s controls but
I have looked at each to no avail.
My question is therefore two fold:

1. If this is due to a space being keyed how do I, in code, step through
each control and it's events looking for it?, or,
2. If it's not a space what else could it be.

The form opens and works Ok most of the time, the db compacts and repairs and compiles to an MDE and the error appears to not be linked to any one control or event but seems to be triggered more often than not if move from the tab order through use of the mouse.

Ideally I don’t want to redo the form or copy the database objects into a new db as there are too many.

Any help gratefully received.

NB This query was originally posted to the vba section without much success apart from a rebuild suggestion gratefully received from WayneRyan. I thought this was a vba error but may be a macro issue, a form error or could be a general problem so apologies if this is not the correct forum, if incorrectly placed Moderators please feel free to move it


Thanks


Kevin
 
If this is due to a space being keyed how do I, in code, step through
each control and it's events looking for it?,


If yo look at the code behind the form in question then click on the left hand side of the code (on the grey bar) close the form and run the form you will see the code come up with a yellow line hit the f8 key to step through each line of code and you should be able to pinpoint where the error occurs
 

Users who are viewing this thread

Back
Top Bottom