Solved

hyperlinks

Posted on 2011-03-07
5
336 Views
Last Modified: 2012-05-11
Is there any way to link to files that have # number sign embedded into the filename
0
Comment
Question by:centralmike
  • 3
5 Comments
 
LVL 19

Accepted Solution

by:
MINDSUPERB earned 250 total points
ID: 35056546
You may try to use the Hyperlink Data Type of your field.

And on the GotFocus Event of that field in a form, place this code.

DoCmd.RunCommand acCmdEditHyperlink

Sincerely,
Ed
0
 
LVL 6

Expert Comment

by:TMWSIY
ID: 35056612
Are you using c#?  Try escaping the pound sign with a \
0
 

Author Comment

by:centralmike
ID: 35057540
I am use VBA IN ACCESS 2007

 Dim straddress As Variant

 straddress = HyperlinkPart(Forms!frmPolicydocuments!lstPDF.Column(1))
 Debug.Print straddress
 Application.FollowHyperlink LTrim(straddress), , True
THE LIST BOX CONTAINS THE FILE NAME. But some of the filenames have the # sign in them and access throws an error message "490" can not open the specified file.
0
 
LVL 6

Assisted Solution

by:TMWSIY
TMWSIY earned 250 total points
ID: 35057556
0
 
LVL 6

Expert Comment

by:TMWSIY
ID: 35057584
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

708 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

16 Experts available now in Live!

Get 1:1 Help Now