Solved

Long hyperlink addresses in Access 2003 Control

Posted on 2007-11-15
4
775 Views
Last Modified: 2012-06-27
I have a control in a form that is hyperlinked to the  address below.  We upgraded access 97 to access 2003 and now the hyperlink does not work.  I copy the same hyperlink address into Internet Explorer, and it works, but it does not work as part of Access 2003 or even as a hyperlink in MS Word.
Any idea why?

https://www.fedex.com/fcl/;SHIPSESSIONID=kQN9H8sZK2BwQ72GLXDnDSkX2vJpD2kH0pxGxJncDMptD4w3cTyL!-1013446784?appName=fclfsm&locale=us_en&step3URL=https%3A%2F%2Fwww.fedex.com%2Fship%2FshipEntryAction.do%3Fmethod%3DdoRegistration%26link%3D1%26locale%3Den_US%26urlparams%3Dus%26sType%3DF&returnurl=https%3A%2F%2Fwww.fedex.com%2Fship%2FshipEntryAction.do%3Fmethod%3DdoEntry%26link%3D1%26locale%3Den_US%26urlparams%3Dus%26sType%3DF&programIndicator=0
0
Comment
Question by:sannunzi
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:jerryb30
ID: 20291096
In what way is it not working?  What message?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 20295356
sannunzi,

The only thing I can think of is that in Off03 MS limited the character length of a hyperlink?

When I tried it, I got an error listing a truncated portion of the hyperlink.


In any event...

If the original source of this Hyperlink is a field in a table, change the Datatype to:  
    Memo
(To accept more than 255 chars.)

Then, in your form, replace the existing hyperlink field with the new one.

On the OnClick event of the textbox, put code like this:

Sub YourHyperLinkTextBox_Click()
    Application.FollowHyperlink Me.YourHyperLinkTextBox
End sub

This should activate the hyperlink.

HTH

JeffCoachman
0
 
LVL 26

Expert Comment

by:jerryb30
ID: 20295360
When I tried the hyperlink, I got a lack of permissions,
Len(hyperlinkfield) was 440.
Len(memoOfHyperlinkfield) was 442
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 20295518
jerryb30,

Here is my alalysis:

If I just used a Hyperlink field in a table , this is what happened:
Error: Unable to open File..... Cannot download the information you requested.
...the Hyperlink was truncated to 255 chars. in the table

Same error in the Form, except hyperlink now truncated to 248 chars.

Using "FollowHyperlink", in a form, the hyperlink activated normally.

JeffCoachman
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now