M
Matt
Hello,
I have created a button on a form to create a folder relating to the specfic
record which works fine. What I want to do is use and hyperlink field to
point to this folder, however I am not having much success. Heres the code
MyFolder = Me![txtRef] & "_" & Me![txtCustomerName]
MyPath = "\\Server\\LossFiles"
MkDir MyPath & "\" & MyFolder
"It works to here creating the folder"
MyHyper = MyPath & "\" & MyFolder
Me.hypField = HyperlinkPart(MyFolder, acDisplayText)
Me.hypField = HyperlinkPart(MyHyper, acAddress)
Thanks in advance
Matt
I have created a button on a form to create a folder relating to the specfic
record which works fine. What I want to do is use and hyperlink field to
point to this folder, however I am not having much success. Heres the code
MyFolder = Me![txtRef] & "_" & Me![txtCustomerName]
MyPath = "\\Server\\LossFiles"
MkDir MyPath & "\" & MyFolder
"It works to here creating the folder"
MyHyper = MyPath & "\" & MyFolder
Me.hypField = HyperlinkPart(MyFolder, acDisplayText)
Me.hypField = HyperlinkPart(MyHyper, acAddress)
Thanks in advance
Matt