About once a week I run a compact and repair to my database and save a copy for a backup. After the last compact and repair the database has not been able to open any forms. The tables, queries and reports all seem to be running as usual. The problem is with the forms.
When I try to open a form in my database I get a Microsoft Visual Basic error that reads "Module not found" Then a visual basic window opens and nothing else happens. When I try to close this window it tells me that "this command will stop the debugger." However, I have let the debugger sit and nothing seems to happen. If I cancel out of the debugger, I can usually see the form. If I try to go straight to design view, I can see the structure of the form.
Now this is true for all but two forms, and these are the Main Form and the Subform in the Main Form. The Main Form is set up to open when the database opens. When I try to open either the Main Form or the Subform, nothing happens at all (that I can see).
Now I know little to nothing about Visual Basic and I am running Access 2000. Does anyone have any suggestions?
When I try to open a form in my database I get a Microsoft Visual Basic error that reads "Module not found" Then a visual basic window opens and nothing else happens. When I try to close this window it tells me that "this command will stop the debugger." However, I have let the debugger sit and nothing seems to happen. If I cancel out of the debugger, I can usually see the form. If I try to go straight to design view, I can see the structure of the form.
Now this is true for all but two forms, and these are the Main Form and the Subform in the Main Form. The Main Form is set up to open when the database opens. When I try to open either the Main Form or the Subform, nothing happens at all (that I can see).
Now I know little to nothing about Visual Basic and I am running Access 2000. Does anyone have any suggestions?