ACC2000: FollowHyperlink Method Uses Current Instance of Database

ID: Q198458


The information in this article applies to:


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, the object 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:


  3. 
    Sub Test()
       Application.FollowHyperlink "","Form Categories",True
    End Sub 
  4. To test this procedure, type the following line in the Immediate Window, and then press ENTER:
    
       Test 
    Note that, although you set the newwindow argument to True, the Categories form opens in the current window instead of in a new window.



REFERENCES

For more information about the FollowHyperlink Method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type FollowHyperlink in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Additional query words: internet intranet window newwindow prb


Keywords          : kbdta MdlGnrl 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: July 15, 1999