Hyperlink Help

Lilgreenfrog

New member
Local time
Today, 03:58
Joined
Aug 4, 2004
Messages
8
I have a databse which I split yesterday into client/server, and everything still works except my hyperlinks. I have changed all the references so that they point to the right place, but the problem is this:

If the entire text in the hyperlink field is selected, the hyperlink opens, otherwise it does nothing. In my form before I split the database, when the hyperlink field was clicked, the whole text within it automatically highlighted and the link opened no problem. Now however, for whatever reason, it isnt.

Any ideas/solutions to problem would be much appreciated.
 
Try this as I have seen it before.
Does the link have http:// as part of the string

On the cmdWeb_click event

const sHTTP = "http://"
if isnull(Website) then
cmdWeb.HyperlinkAddress = ""
Elseif Left(Website,Len(sHTTP)) = sHTTP then
cmdWeb.HyperlinkAddress = website
Else
cmdWeb.HyperlinkAddress = sHTTP & Website
End if
 
Solved it..

Wasn't using hyperlinks with HTTP in them, just to local folder. Problem was that in the 'options' menu, on the view tab I had unchecked the box that specifies on entry to a field to highlight the whole field. Put this option back on, and voila!

Thanks for your help


:)

Frog
 

Users who are viewing this thread

Back
Top Bottom