Solved

Hyperlink follow up question

Posted on 2014-02-22
6
305 Views
Last Modified: 2014-02-22
Hi ,

See attached.
An EXPERT gave this neat utility.

It allows me to insert a hyperlink into my form
Specifically I am inserting a  folder & file name.

However, after saving the record ....  I then click on the hyperlink - it does not open my file...??
Why not?
0
Comment
Question by:Patrick O'Dea
  • 3
  • 2
6 Comments
 
LVL 2

Accepted Solution

by:
ambri5h earned 250 total points
ID: 39879541
What is the code that the Hyperlink uses?

Check that to see how its connecting to the folder/file... Also check permissions on the folders in case that has any bearing on it.
0
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 250 total points
ID: 39879556
<<See attached.>>

Your attachment got left behind.
0
 

Author Comment

by:Patrick O'Dea
ID: 39879566
Permissions are fine..
It's all a bit odd and is best understanding by actually running the simple form.

(Perhaps if might behave differently on someone else's PC)


http://screencast.com/t/VGNPFa9k23


Option Compare Database

Private Sub cmdSelectFile_Click()

Me.txtfile = SelectFile


End Sub

Function SelectFile() As String
      
        On Error GoTo ExitSelectFile
          
        Dim objFileDialog    As Object
        Set objFileDialog = Application.FileDialog(1)
          
        With objFileDialog
          
            .AllowMultiSelect = False
            .Show
               
            Dim varSelectedItem As Variant
      
            For Each varSelectedItem In .SelectedItems
      
                SelectFile = varSelectedItem
               
            Next varSelectedItem
                  
       End With
         
ExitSelectFile:
      
    Set objFileDialog = Nothing
      
End Function

Open in new window

0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Patrick O'Dea
ID: 39879682
See attached ... forgot to attach earlier!
0
 
LVL 61

Expert Comment

by:mbizup
ID: 39879780
Are you trying to attach a sample database file?

It did not get attached.
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39879847
Folks,

I will close this question and give goodwill marks!

I have resolved the issue and was not presenting things correctly.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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 …

785 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