Hi,
Not sure if I am posting to the right place --
I am trying to create a calculated field that has a specific URL as a constant: \\MyNetwork\MyFolder
- when the user clicks on the field, they can add to the constant, e.g. \\MyNetwork\MyFolder\NewFile
- this completed URL then gets stored someplace useful
here is the code I have so far. I'm getting errors at the last line:
NewUrl.Value = NewFilePath
How do I store the calculated variable NewFilePath in the textbox NewUrl?
rivate Sub NewUrl_BeforeUpdate(Cancel As Integer)
Dim NewFile As String
Dim NewFilePath As String
Dim FilePath As String
FilePath = "\\MyNetwork\MyFolder"
NewFile = NewUrl.Value
NewFilePath = FilePath + NewFile
NewUrl.Value = NewFilePath
End Sub