Hyperlink Base

  • Thread starter Visio Candar Control
  • Start date
V

Visio Candar Control

I use a form to keep contact information in the case of received letters,
these are scanned and saved to a folder on the server, when I click on the
hyperlink box on the form I want the hyperlink dialog box to open at the set
base drive in this case “F:\WINDATA\IT\†I would then select the required
document by clicking on it. I use the following code to open the hyperlink
window if no existing hyperlink exists. Although the code adds the base
address when the window opens it ignores the setting and uses my documents as
its base.

Private Sub DocLoc_Click()

CurrentDb.Containers("databases").Documents("summaryInfo").Properties("Hyperlink Base") = "F:\WINDATA\IT\"
If IsNothing(Me.DocLoc) Then
Me.DocLoc.SetFocus
DoCmd.RunCommand acCmdEditHyperlink
Else
End If

End Sub

Doe’s anyone know how to achieve this.
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top