ACC2000: Saved Form or Report Does Not Show in Project Window of Visual Basic Editor (225879)
The information in this article applies to:
This article was previously published under Q225879 This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you create and save a form or a report and then open the Visual Basic Editor, the new object does not appear in the Project window.
CAUSE
A Microsoft Access form or report does not appear in the Project window until the HasModule property of the object is set to Yes.
RESOLUTION
You can use any of the following methods while the form or report is open in Design view to add a module to the object:
- On the View menu, click Code.
- On the Events tab of the property sheet, select Event Procedure for any event, and then click the Build (...) button to the right of the event box.
- Right-click the form/report element or control and click Build Event; then select Code Builder, and click OK.
- Click the Build button (it looks like a magic wand above three dots) on the Form/Report Design toolbar, select Code Builder, and then click OK.
Following any of these steps will open the Visual Basic Editor to the
form or report's Class Module. The form or report will now be listed in the Project window in the Visual Basic Editor.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbnofix kbprb KB225879 |
---|
|