ACC97: Browser Link Opens Multiple Instances of Microsoft Access (186308)
The information in this article applies to:
This article was previously published under Q186308 SYMPTOMS
In a Microsoft Access database, if you have a built-in Switchboard or a custom form that contains a class module as a Startup form, and you open the database through a link from a Web page, it may open multiple instances of Access.
NOTE: This can occur in both MDB and MDE files.
CAUSE
This problem may occur if the following conditions are true:
- The Web page is being accessed from Microsoft Internet Explorer versions 3.x or later.
- The Startup form has its HasModule property set to True or the form is calling a function referencing VBA332.DLL.
- The hyperlink is a file reference.
RESOLUTION
To work around this problem, change the link from a file reference to a URL
as described in the following example.
Example- Close all instances of Microsoft Access.
- Move or copy the sample database Northwind.mdb to a folder on the Web
server or make the current folder a virtual directory.
- Edit the Web page, changing the file reference to a URL. For example,
change
<a href="file:///C:/Samples/Northwind.mdb">Northwind</a>
to:
<a href="/Northwind.mdb">Northwind</a>
- View the Web page with Internet Explorer 3.0, 4.0, or 5.0 and click the Northwind hyperlink.
Note that one instance of Microsoft Access is running.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
REFERENCES
For more information about hyperlinks, search the Help Index for
"hyperlinks," and click "About hyperlink addresses in hyperlink fields and
controls," or ask the Microsoft Access 97 Office Assistant.
For more information about creating virtual directories, refer to the
documentation for the relevant Web Server software.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug kbfix KB186308 |
---|
|