ACC: Compile Errors Not Reported When Form Opened with Code
Article ID: 121013
Article Last Modified on 5/6/2003
APPLIES TO
- Microsoft Access 1.0 Standard Edition
- Microsoft Access 1.1 Standard Edition
- Microsoft Access 2.0 Standard Edition
This article was previously published under Q121013
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
In Microsoft Access version 1.x, compile errors in procedures triggered by
the Open event are not reported if you use Access Basic code to open a form
in Dialog window mode.
In Microsoft Access version 2.0, compile errors in procedures triggered by
the Load event are not reported if you use Access Basic code to open a form
in any window mode.
RESOLUTION
Compile all your Access Basic code before you open the form.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access versions
1.0, 1.1, and 2.0. This problem no longer occurs in Microsoft Access
version 7.0.
Keywords: kberrmsg kbbug kbusage KB121013