Creating A Hyperlink To Open A PDF File?

Jan 22, 2014

I have a form, and on that form I have a textbox called RefDwgNo (user not allowed to make changes...just for viewing). Displayed in this textbox is the name of a file (without the .pdf extension). I changed the textbox to 'is hyperlink' and added to OnClick- this code:

Private Sub RefDwgNo_Click()
FollowHyperlink "***private***engineering_data***Private***Des ignFitoutLabel Plate\_LATEST REV"
End Sub

The user needs to actually open the .pdf file, not the folder its located in. How do I add the file name from this textbox to the code above?

View Replies


ADVERTISEMENT

Modules & VBA :: Creating Hyperlink On A Button To Open Up A Webpage

Jan 17, 2014

I am trying to create a button that opens up a webpage. I get how to create a hyperlink on a button. The problem is, I need to open a specific page depending on the information in a text box.

The text box displays the tracking number for the current record. That number is populated automatically via a control source. The problem is that I need to open different web pages depending on the tracking number displayed. For example, UPS has a specific start to their number (1ZX....). Other trucking companies have a specific format, also.

So how do I tell it to look at the tracking number and then open the corresponding web page?

View 2 Replies View Related

Hyperlink String Does Not Open File

Oct 14, 2013

I have a table has two fields: CompanyLocation , FileName

I have a form that uses and unbound field to create a file path string

="file:///s:/My Folders/" & [CompanyLocation] & "/" & [FileName]

In the form it looks like file:///s:/My Folders/My Company One/This Is My File.doc

I then set this to hyperlink in the form but when i click on it nothing happens.

When i copy the link it gives me and paste it into Windows Explorer it works fine.

View 7 Replies View Related

Modules & VBA :: Email Hyperlink / Attachment To Open Access File?

May 15, 2015

I have created an action log database that sends an email when a new action is entered. I would like to launch the database using a hyperlink in the email, but can't seem to get it to work. All users have a copy of the front end on their desktop, so whatever I add to the email needs to launch the front end for any user signed on to their own desktop.

This is what I have and it sends a hyperlink but I click it, I get an error saying it can't find the file. I don't know how to word the path name for any user?

With obMsg
.subject = "New action request for " & team
.To = people

[Code].....

View 14 Replies View Related

Creating A Command Button To Open A File

Jun 13, 2006

I have set up a database that houses file locations. The form that I have made shows a job # and the files that correlate with it. I would like to set up a command button that will read the file name and open it in Excell. If any one know how to do this I would greatly appreciate the help.

View 3 Replies View Related

Modules & VBA :: Creating A Batch File To Open Up Another Database

Mar 11, 2015

I want to create a batch file that will be used in a RunApp macro command to open up another database.

View 2 Replies View Related

General :: Follow Hyperlink To A File Without Using File Extension?

Sep 6, 2012

Is it possible to follow a hyperlink to a file without using a file extension?

I have links being created based on the name of a file, but because I haven't used a file extension it crashes.

I know I can give the user a choice of what the file extension is and add it to the hyperlink, but it's an extra step, and another place for someone to make a mistake.

I'm potentially using 3 different file types, Word, Excel and PDF's.

The hyperlink works if I just reference a drive/folder, or if I add the file extension.

View 3 Replies View Related

Creating A Hyperlink

Jun 6, 2006

I have an unbound field txtMyField which I want to fill with a hyperlink after entering data in another field. So I put the Is Hyperlink setting to yes, and some code to populate the field. But I cannot click the link. It is just like text.

How can I amend this so that it is clickable?

Thanks,

Dave

View 2 Replies View Related

Hyperlink To Open PDF

Sep 16, 2005

I have a form with a textbox on it that is populated with the path of a pdf doc associated to the form. How do i get the pdf to open when i click on the path?

thanks..

View 3 Replies View Related

Hyperlink To Open Doc.

Dec 14, 2006

I have the following code to open a specific file:
Private Sub OpenDoc_Click()
FollowHypelink "C:Documents.......
End Sub
The name of the file is written in the code, for every record on my form I have a different file to open so I have a field called "DOCN" wich is the name of the file I have to open. How can I put a extension on the code to read the file name mentioned in the field on my form?
Thanks
Marco

View 2 Replies View Related

Hyperlink To Open Access?

Jun 6, 2007

Is it possible?
I want a link that can be put in a mail (to someone in our network) and clicked. It should open Access on a specific database and I should be able to use parameters (like /cmd and /wrkgrp).
I'm lost... :confused:

View 7 Replies View Related

Hyperlink In Form Will Not Open Outlook

Nov 16, 2012

I have a form linking to information in a query, and simply shows some client information. one thing the form shows is the clients email. from the query i can click on the email (hyperlink) and outlook opens a blank email with the clients email already inserted. how do i get the form to do the same?

View 1 Replies View Related

Command Button Open Up Hyperlink From A Recordset

Jan 3, 2005

Hello all, I hope your hollidays were great!!

Ok I have a Continuous form that in one of it's fields contains Hyperlinks. The form is named [Song Info] and the field is [Play].
I want this field to be hidden and have a command button open up the hyperlink in that recordset. I think that all the info need
but if not let me know.



Thanks
Rich M

View 11 Replies View Related

Use Hyperlink To Open Form Based On Value In The Field?

Jun 12, 2014

I have a continuous form that lists all unapproved invoices. I would like to have a hyperlink at the end of each row that says Review and will open another form that queries the details of the unapproved invoice based on the invoice number in the current row.

View 9 Replies View Related

Hyperlink - Changing File Location

Mar 12, 2007

I have recently been working on the code below and I have neally completed what I want to do.

Private Sub H_Enter()
Form!H = "hyperlink#E:WORKSPEC PROJECTWORKSPECS" & Form!S & Form!PC & Form!extension & "#"
End Sub

What I want to do is have the file location (bit I have bolded) stored in another form or table and have the code read it from there as the file locations may change, rather than having to enter it for each line I just want to enter it once and then as and when it changes I just change the one line but it changes all the hyperlinks

hope this makes sense.

View 2 Replies View Related

Hyperlink To Database Using Workgroup File

Jan 10, 2008

Is there anyone out there that can help me with this problem. I want to create a hyperlink in MS Outlook to my database file using my workgroup. The problem I'm having is when I put the following: file://"N:DbaseFilesSCC_Dbase.mdb" that works. It will open Access to that dbase file. But if I include the workgroup file associated like this: file://"N:DbaseFilesSCC_Dbase.mdb" /WRKGRP "N:DbaseFilesCSS_Issues.mdw" it doesn't work. Can someone please tell me why. I've been struggling with this for days now. I can't find any solutions.

View 2 Replies View Related

Modules & VBA :: File Hyperlink In Form?

Jan 6, 2014

Im developing a database for work, I would like to provide a link on a form to run an external program. The form is call frmProfile. The table is called tblProfile and the hyperlink field is called link.

I would like a diaglog box to appear where the user can browse for the file and select it. Ive found various scripts but with my vb skills being very basic its no wonder im getting no joy.

I should add... each record has its own associated file. Its cctv footage which runs from the cctv systems own proprietary software. So its an individual filefor each record not just a program.

View 1 Replies View Related

Follow Hyperlink To File In DropBox?

Jun 23, 2013

I am trying to use followhyperlink as a way to open a link in a browser to a file in a shared dropbox folder. I have a form with a control, the control is named LinkToDoc it's record source is a text field in a table. The file path in the table is similar to [URL] ..... I am getting run time error 15, cannot open the specified file.

Code:
Private Sub cmdOpenFile_Click()
Application.FollowHyperlink LinktoDoc
End Sub

View 3 Replies View Related

Forms :: Use A Hyperlink To Open A Folder Within A Specific Directory

Nov 26, 2014

I have 3 attachment boxes in my table that appears in a form.each attachment box contains specific files (not specific as in extension such as PDF, JPEG, etc.) but specific as in Company Documents, Certifications, Resumes. The issue is there's a lot of document and I see my database growing (fast)...My question finally is....

Can I use a Hyperlink to open a folder within a specific directory where multiple file are located so i can open the specific file need there RATHER than attaching them in the attachment box individually?.?.....If not how this can be done (no SQL) unless that route is very simple and basic coding.

My thinking would be to place the file path to the documents in the table and hyper link that column in the table, but not knowing exactly how Hyperlinks work I don't think it would actually work..

View 6 Replies View Related

Reports :: Can't Open Report In Preview If Opened By Hyperlink

Sep 11, 2014

I have a report that will open by clicking a hyperlink and I want it to open in preview mode.

I tried using:

"DoCmd.RunCommand (acCmdPrintPreview)" or "Report.CurrentView = 5"

in the On Open event but, no success, I only get an error message.

View 1 Replies View Related

Forms :: Create Hyperlink To Open Access Form

Jul 10, 2015

I am investigating on the possibility of setting up an approval process for our employee intake procedure by using MS Access and Outlook.

The idea is for the requester to open an intake form in Access and fill in the new employee's information and send an Outlook email to the manager for approval. I know how to trigger off an event on the form to send an email to the manager but my challenge is how to create a hyperlink in the email for the recipient to directly open the intake form with the specific record, without the need to open the database and find the specific intake form.

The intake form is built in a frontend .mde file on a shared drive where all users have access to.

View 14 Replies View Related

Tables :: How To Open Form Using Hyperlink Data Types

Jun 8, 2014

I create a table that have one hyperlink data type and i want to open a existing form that i created using this hyperlink.

Can this hyperlink data type open a form in the same access database? or open form in different access database?

Using hyperlink button have the function to open form in same database but the problem is this function is not available in hyperlink data type.

View 2 Replies View Related

Attaching Hyperlink File To An Email Through Code

Dec 4, 2006

A have a table with many records and each record has a hyperlink to a document. Based on some criteria i want to attach the hyperlink file to an email. Don't want to have to do this manually. Is there anyway i can write code to go and get the hyperlink file and then attach the physical file into the email? This could result in 1 file being attached, 13 files being attached, 0 files etc.

Any help would be greatly appreciated.

Cheers,

Combsie.

View 5 Replies View Related

Modules & VBA :: Setting Hyperlink To Open Different Forms / Reports Dynamically?

Oct 18, 2014

I am trying to add a feature in my database dashboard that shows a list of hyperlinks that are the most frequently used forms and reports based upon the user. I can figure out how to capture the event each time the form or report is opened and update a record to increase the count, and build a recordset that will query the table filtering by user and order by frequency...

However, I am stuck on building the hyperlinks that will point to the correct form or reports dynamically.

Specifically, I am not able to update the subaddress using VBA. I get an error that the hyperlink cannot follow to the new form...

Here is my code:

Code:
Private Sub Form_Load()
Dim strUser As String
Dim strApp As String
strUser = Environ("username")
strApp = "frmTest1"
Me.txtUser = strUser
Me.txtLink3 = strApp
Me.txtLink1 = strApp
Me.hypTest.Hyperlink.SubAddress = strApp
End Sub

View 3 Replies View Related

Insert Hyperlink Dialog Default File Path

Jan 10, 2007

Hello everyone and happy New year.

Ii have a database running on Access 10.0, I am using the insert hyperlink dialog box (access by Ctrl K) to allow users to insert a hyperlink to a file (could be any sort of file), into a text box.

The problem I have is most of the files are held many directories above where the database is (we have a BAD directory policy, 10's of folders within folders) and it gets a little painful to get the user to go up so many levels, due to the hyperlink dialog opening in the "current folder" view, ie where the db is located.

Simple quest, or so I thought. Can I change the default directory "Current Folder" that the dialog box starts in ?

I have already tried chdir"c:" but to no avail.......not that obvious then...

All help greatfully received...

Any help greatly received......

View 1 Replies View Related

Queries :: Hyperlink To A Document - Location Of File In Query

May 23, 2013

I have a query that combines few different tables in order to create a View (Query) that is then used to by and Excel sheet to update a list. The Excel is dynamical updated when new data is inputted in the Access Tables.

But one of the fields in a query is combination of path name and report name (another filed in one of the tables) that crate a complete path to a file that contains some additional information.

Now since the Excel is updated dynamical and users of this Excel sheet are not very advanced. I waned to make it easy for them to just click on the location of the file and the file opens up. But I am not able to make the Query that contains the file destination hyperlinked.

I am using Access 2007

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved