Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Access 97 Hyperlinks fail on Win2000 machine


Message #1 by "Darron Michael" <darron.michael@h...> on Wed, 30 May 2001 19:05:20
I have a database for doing product inspections during production.  I have 

a table of products that includes several fields for hyperlinks to Work 

Instructions, Pictures, Drawings, Specifications, etc.



The user can do their inspection, led step by step by the computer, and 

can jump to the work instructions, specifications for packaging or raw 

materials, Drawings, or whatever they need by pressing the buttons on the 

form.



The button on the form activates the following piece of code, referencing 

the field containing the appropriate hyperlink for that product.



Private Sub PBWI_Click()

    If Len(Me.WILink.Hyperlink.Address) > 0 Then

       Me.WILink.Hyperlink.Follow

    Else

        DoCmd.Beep

       MsgBox "Work Instruction not available.  See your Supervisor or 

Quality Inspector."

    End If

End Sub



Clicking this button on Win9X machines works fine.  Clicking the button on 

a Win2K machine produces the following error.



Run-time error '-2147221008 (800401f0)':

Method 'Follow' of object '_Hyperlink' failed



Who can tell me how to make hyperlinks work in Office 97 on Windows 2000?

Thanks in advance,



Darron.michael@h...

  Return to Index