If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
hyperlink field not using hyperlink base
I have a table with a hyperlink field. I have set the
hyperlink base in the database properties to c:\folder. I want the user to be able to type in the document name in the field without having to use the "insert hyperlink" button. When I type in a document name, tab out of the field, and then click the name, Access tries to open http://document. Why doesn't it use the hyperlink base? I can't imagine that this is a new problem, but I have searched on Google newsgroups archive and here and have not found an answer. I am using Access 2000 on windows 2K. Thanks. Mary |
#2
|
|||
|
|||
Just use a text field instead of a hyperlink.
You can then concatenate the folder name and the document name together, and use the result with FollowHyperlink, e.g.: Application.FollowHyperlink "C:\MyFolder\" & "MyFile.txt" -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Mary" wrote in message ... I have a table with a hyperlink field. I have set the hyperlink base in the database properties to c:\folder. I want the user to be able to type in the document name in the field without having to use the "insert hyperlink" button. When I type in a document name, tab out of the field, and then click the name, Access tries to open http://document. Why doesn't it use the hyperlink base? I can't imagine that this is a new problem, but I have searched on Google newsgroups archive and here and have not found an answer. I am using Access 2000 on windows 2K. Thanks. Mary |
#3
|
|||
|
|||
Thank you, Allen. That's easier than trying to write code
to remove the http:// of the link address after the user types in something. Mary -----Original Message----- Just use a text field instead of a hyperlink. You can then concatenate the folder name and the document name together, and use the result with FollowHyperlink, e.g.: Application.FollowHyperlink "C:\MyFolder\" & "MyFile.txt" -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Mary" wrote in message ... I have a table with a hyperlink field. I have set the hyperlink base in the database properties to c:\folder. I want the user to be able to type in the document name in the field without having to use the "insert hyperlink" button. When I type in a document name, tab out of the field, and then click the name, Access tries to open http://document. Why doesn't it use the hyperlink base? I can't imagine that this is a new problem, but I have searched on Google newsgroups archive and here and have not found an answer. I am using Access 2000 on windows 2K. Thanks. Mary . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preventing the hyperlink base from disappearing after a save | Gary | Setting up and Configuration | 1 | September 20th, 2004 03:34 PM |
How do I update/correct the hyperlink path in a field? | Mike Webb | New Users | 3 | July 16th, 2004 09:29 PM |
ASK Field Behavior | Greg | Mailmerge | 9 | July 2nd, 2004 02:44 PM |
Hyperlink field and icon | FatMax | Using Forms | 1 | June 12th, 2004 08:59 PM |
Hyperlink Base Disappears | Gary | Worksheet Functions | 0 | October 20th, 2003 07:36 AM |