PC Review


Reply
Thread Tools Rate Thread

Hyperlink datatype

 
 
Trini Gal
Guest
Posts: n/a
 
      1st Jun 2010
Hello,

I'm not sure if what I'm doing is right because my user keeps getting the
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 was
only recently upgraded to Access 2007. I have listed our systems and the
annual testing results in .pdf format (hyperlink datatype in the table). I
have given the users read only access to where the files are stored and have
listed it as a trusted location. I would like when they click on the system
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?

Thanks.

 
Reply With Quote
 
 
 
 
Jeanette Cunningham
Guest
Posts: n/a
 
      1st Jun 2010
See if this helps:
http://allenbrowne.com/func-GoHyperlink.html


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"Trini Gal" <(E-Mail Removed)> wrote in message
news:B0844186-40D3-4765-9C0A-(E-Mail Removed)...
> Hello,
>
> I'm not sure if what I'm doing is right because my user keeps getting the
> 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 was
> only recently upgraded to Access 2007. I have listed our systems and the
> annual testing results in .pdf format (hyperlink datatype in the table).
> I
> have given the users read only access to where the files are stored and
> have
> listed it as a trusted location. I would like when they click on the
> system
> 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?
>
> Thanks.
>



 
Reply With Quote
 
 
 
 
Trini Gal
Guest
Posts: n/a
 
      2nd Jun 2010
Hello Jeanette,

Thanks for your reply. After posting I found that information and tried it.
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 "A
potential security concern has been identified. Do you want to continue?" I
click "Yes" and get another error GoHyperlink() "Error 490: Cannot open the
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?

Thanks,



"Jeanette Cunningham" wrote:

> See if this helps:
> http://allenbrowne.com/func-GoHyperlink.html
>
>
> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
>
> "Trini Gal" <(E-Mail Removed)> wrote in message
> news:B0844186-40D3-4765-9C0A-(E-Mail Removed)...
> > Hello,
> >
> > I'm not sure if what I'm doing is right because my user keeps getting the
> > 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 was
> > only recently upgraded to Access 2007. I have listed our systems and the
> > annual testing results in .pdf format (hyperlink datatype in the table).
> > I
> > have given the users read only access to where the files are stored and
> > have
> > listed it as a trusted location. I would like when they click on the
> > system
> > 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?
> >
> > Thanks.
> >

>
>
> .
>

 
Reply With Quote
 
Trini Gal
Guest
Posts: n/a
 
      2nd Jun 2010
I updated teh code to:


Private Sub Ctl2009_REPORT_Click()

Dim myFile As String
myFile = Ctl2009_REPORT.Value

Call GoHyperlink("V:\Engineering\_Data\Engineering\FCC-CLI-320 Info\2009
Filings\FCC Form 320 Reports\" & myFile)

End Sub

Still getting the error.


"Trini Gal" wrote:

> Hello Jeanette,
>
> Thanks for your reply. After posting I found that information and tried it.
> 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 "A
> potential security concern has been identified. Do you want to continue?" I
> click "Yes" and get another error GoHyperlink() "Error 490: Cannot open the
> 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?
>
> Thanks,
>
>
>
> "Jeanette Cunningham" wrote:
>
> > See if this helps:
> > http://allenbrowne.com/func-GoHyperlink.html
> >
> >
> > Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
> >
> > "Trini Gal" <(E-Mail Removed)> wrote in message
> > news:B0844186-40D3-4765-9C0A-(E-Mail Removed)...
> > > Hello,
> > >
> > > I'm not sure if what I'm doing is right because my user keeps getting the
> > > 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 was
> > > only recently upgraded to Access 2007. I have listed our systems and the
> > > annual testing results in .pdf format (hyperlink datatype in the table).
> > > I
> > > have given the users read only access to where the files are stored and
> > > have
> > > listed it as a trusted location. I would like when they click on the
> > > system
> > > 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?
> > >
> > > Thanks.
> > >

> >
> >
> > .
> >

 
Reply With Quote
 
Jeanette Cunningham
Guest
Posts: n/a
 
      2nd Jun 2010
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
http://www.mvps.org/access/api/api0018.htm


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


"Trini Gal" <(E-Mail Removed)> wrote in message
news:1042A524-FC67-4F1E-BABF-(E-Mail Removed)...
> Hello Jeanette,
>
> Thanks for your reply. After posting I found that information and tried
> it.
> 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
> "A
> potential security concern has been identified. Do you want to continue?"
> I
> click "Yes" and get another error GoHyperlink() "Error 490: Cannot open
> the
> 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?
>
> Thanks,
>
>
>
> "Jeanette Cunningham" wrote:
>
>> See if this helps:
>> http://allenbrowne.com/func-GoHyperlink.html
>>
>>
>> Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
>>
>> "Trini Gal" <(E-Mail Removed)> wrote in message
>> news:B0844186-40D3-4765-9C0A-(E-Mail Removed)...
>> > Hello,
>> >
>> > I'm not sure if what I'm doing is right because my user keeps getting
>> > the
>> > 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
>> > was
>> > only recently upgraded to Access 2007. I have listed our systems and
>> > the
>> > annual testing results in .pdf format (hyperlink datatype in the
>> > table).
>> > I
>> > have given the users read only access to where the files are stored and
>> > have
>> > listed it as a trusted location. I would like when they click on the
>> > system
>> > 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?
>> >
>> > Thanks.
>> >

>>
>>
>> .
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
database datatype bit what is the C# datatype? Jeff Microsoft ASP .NET 2 16th Apr 2007 09:26 PM
conversion date datatype to long datatype raju Microsoft Dot NET Compact Framework 3 9th Jun 2006 12:28 PM
Database datatype to c# datatype Peter Kirk Microsoft C# .NET 3 1st Jun 2006 09:12 AM
Boolean datatype column refuses to Copy to Bit datatype SQL Table =?Utf-8?B?RmlkZGVsbTM3NDI=?= Microsoft ADO .NET 1 30th May 2006 07:28 PM
The Active Directory datatype cannot be converted to/from a native DS datatype Hechmi Microsoft Dot NET 1 1st Mar 2004 08:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:32 PM.