A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

hyperlink field not using hyperlink base



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2004, 05:38 PM
Mary
external usenet poster
 
Posts: n/a
Default 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  
Old August 26th, 2004, 05:59 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

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  
Old August 27th, 2004, 11:03 PM
Mary
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 11:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.