ACC2002: "Microsoft Access Failed to Create the Visual Basic Module" Error Message When You Try to Edit an Object in a Replica (287443)
The information in this article applies to:
This article was previously published under Q287443 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you try to open a form or a report in a replicated database, and if the database is in Microsoft Access 2000 format, and you if then try to open the Visual Basic Editor, you receive the following error message
Microsoft Access failed to create the Visual Basic Module.
If your database is on a network drive, check your network connection, and then try again.
and then you do not have any options available in the replica to create a module. This behavior does not occur with data access pages.
CAUSE
In Access 2002, when Access tries to open an object in Design view, replica or not, Access opens the object in an update state. If Access is unable to do so, Access tries to open the object in a read-only state. This is different from Access 2000, where, in a replica, Access opens the object read-only from the beginning.
RESOLUTION
If possible, develop your application fully before you replicate and distribute it. If you have to make design changes later, distribute the front-end database separately from the tables.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kberrmsg kbnofix kbprb KB287443 |
---|
|