View Single Post
Old June 2nd, 2010, 10:43 PM posted to microsoft.public.access.tablesdbdesign
Jeanette Cunningham
external usenet poster
Posts: 2,190
Default Hyperlink datatype

I avoid using hyperlink data types as I have had similar experiences.
I store the file name in one field and the path in another field.

When I want to open the file, I concatenate the path with the file name and
use the shell execute api instead to open files.

Here is a link to shell execute api

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Trini Gal" wrote in message
Hello Jeanette,

Thanks for your reply. After posting I found that information and tried
I have the following code on the On Click Event:

Private Sub Ctl2009_REPORT_Click()

Call GoHyperlink(Me.[Ctl2009_REPORT])

End Sub
When I click on the link I get a Microsoft Office Access Security Notice
potential security concern has been identified. Do you want to continue?"
click "Yes" and get another error GoHyperlink() "Error 490: Cannot open
specified file." I click "Ok" and then the file opens.

This is the first time I'm attempting this, what am I doing or not doing?


"Jeanette Cunningham" wrote:

See if this helps:

Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Trini Gal" wrote in message

I'm not sure if what I'm doing is right because my user keeps getting
error "Unable to open V:...... .pdf. Cannot open the specified file."

My database is still Access 2003, I haven't upgraded it yet because I
only recently upgraded to Access 2007. I have listed our systems and
annual testing results in .pdf format (hyperlink datatype in the
have given the users read only access to where the files are stored and
listed it as a trusted location. I would like when they click on the
ID, the report opens up and they are able to print.

My user keeps getting the above reference table.

Can someone let me know why this is happening please?