?
Solved

How to edit hyperlink in runtime (Access 2007)?

Posted on 2010-09-10
5
Medium Priority
?
1,280 Views
Last Modified: 2013-11-27
How do I edit a hyperlink in runtime when I have no right mouse click?

Hyperlink is a field that links PDFs located in the same folder as the app.
0
Comment
Question by:notpandora
[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
  • 3
  • 2
5 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33646722
Edit it how?

You can edit any hyperlink by editing it directly in the table.
In a form, you can Tab into the Hyperlink field and change it.

Or you can do this in a form via code with something like this:

    me.YourHyperlinkControl.SetFocus

;-)

JeffCoachman
0
 

Author Comment

by:notpandora
ID: 33646828
In full Access I just right mouse click on the form field and click Hyperlink / Edit Hyperlink and I can browse for the file and link it. In runtime I have no right click so can't access this menu....
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 1000 total points
ID: 33647468
I try to avoid using these "Access Only" Fields (Hyperlink, OLE, attachment, ...etc)
They will not translate into other formats like SQL server, and they have issues like the on you are having.

Here is a very simple example of what I use to do this.

I am sure you can adapt it to work in your database

;-)

JeffCoachman
Access-EEQ-26464463-LinkedPDFDia.mdb
0
 

Author Closing Comment

by:notpandora
ID: 33652561
Thanks Jeff, got it working in the end. Thanks again...fc
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 33667487
;-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Suggested Courses

770 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