ACC97: FollowHyperlink Method Uses Current Instance of Database

Last reviewed: September 29, 1997
Article ID: Q174350
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

If you use the FollowHyperlink method to link to an object in the same Microsoft Access database, and you set the NewWindow Argument to True, the object will not appear in a new instance of Microsoft Access. The object will instead appear in the current window.

CAUSE

The NewWindow Argument of the FollowHyperlink method has no effect on links to Microsoft Access objects. If the object to which you are linking is in the same Microsoft Access database, it will always appear in the current window. Conversely, if the object to which you are linking is in another database, the object will appear in a new window as another instance of Microsoft Access. In either case, setting the NewWindow Argument in the FollowHyperlink method to True or False has no effect.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Microsoft Access and open the sample database Northwind.mdb.

  2. Create a new module and type the following procedure:

          Sub Test()
    
             Application.FollowHyperlink "","Form Categories",True
    
          End Sub
    
    

  3. To test this procedure, type the following line in the Debug window, and then press ENTER:

           Test
    

    Notice that, although you set the NewWindow Argument to True, the Categories form opens in the current window instead of opening in a new window.

REFERENCES

For more information about the FollowHyperlink method, search the Help Index for "FollowHyperlink method."


Additional query words: Internet intranet window newwindow
Keywords : MdlGnrl
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
Solution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.