When auto filing a hyperlinked document -
My code is working from a network drive but not my own.
Addresses to seem to be "shortcutting" a portion of the address I need.
Of course i would like this to function from both network drives and a persons local.
Instead of C:\Temp\temp.pdf
My current links reads ..\temp.pdf
any help is appreciated.
here is my code:
Dim Doc_Name As String
Dim PartNmber As String
Dim ChangeRequestNumber As String
'Dim Dte As String
Dim Hyper_MIR1 As String
PartNmber = Forms![Change Request Form]![Part #]
ChangeRequestNumber = Forms![Change Request Form]![Change request #]
Hyper_MIR1 = HyperlinkPart(Forms![Change Request Form]![MIR1], acAddress)
Doc_Name = PartNmber & "MIR" & ChangeRequestNumber & ".pdf"
Name Hyper_MIR1 As G:\Data\Access Databases\Change_Request_Database\File_storage\" & Doc_Name
My code is working from a network drive but not my own.
Addresses to seem to be "shortcutting" a portion of the address I need.
Of course i would like this to function from both network drives and a persons local.
Instead of C:\Temp\temp.pdf
My current links reads ..\temp.pdf
any help is appreciated.
here is my code:
Dim Doc_Name As String
Dim PartNmber As String
Dim ChangeRequestNumber As String
'Dim Dte As String
Dim Hyper_MIR1 As String
PartNmber = Forms![Change Request Form]![Part #]
ChangeRequestNumber = Forms![Change Request Form]![Change request #]
Hyper_MIR1 = HyperlinkPart(Forms![Change Request Form]![MIR1], acAddress)
Doc_Name = PartNmber & "MIR" & ChangeRequestNumber & ".pdf"
Name Hyper_MIR1 As G:\Data\Access Databases\Change_Request_Database\File_storage\" & Doc_Name