How do I delete 'harmful' hyperlink security warning in Access?

M

matt

In Access 2003. trying to set up a database. Am using hyperlinks to link to
files on my computer, created by me. Get frustrating security warnings each
time a hyperlink is clicked in a form. Is there any way to turn these off?
Thank you.
Matt.
 
B

Barry Edmund Wright

Matt,
Maybe this will work?

'Set warnings off
docmd.setwarnings false
'Open document
Application.FollowHyperlink "" & vArtifactFolder & vArtifactFileName &
"", True
'Set warnings back on
docmd.setwarnings true

Cheers,
Barry
www.witstoronto.ca
 
Top