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
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