Solved

Long hyperlink addresses in Access 2003 Control

Posted on 2007-11-15
4
811 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

724 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