UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Linking record to excel spreadsheet.    
 
   
ASMITH5RGV
post Nov 13 2006, 04:33 PM
Post #1

UtterAccess Member
Posts: 34
From: South Texas



I did this a year ago and now can't remember how I did it! I have a table with 2 fields in each record, a job number and job description. I want to add another field to the record which is a link to a spreadsheet. I only want the spreadsheet to open up if I click on that field. Please help. Thanks in advance.
Go to the top of the page
 
+
mike60smart
post Nov 14 2006, 10:52 AM
Post #2

UtterAccess VIP
Posts: 8,469
From: Dunbar,Scotland



Hi
In table design add the field required and make the datatype = Hyperlink
Open the table and place your cursor in the hyperlink field
Use hyperlink button on Toolbar to link to File

Hope this helps
Mike
Go to the top of the page
 
+
jmcwk
post Nov 14 2006, 11:00 AM
Post #3

UtterAccess VIP
Posts: 12,201
From: Tacoma, WA.



This attachment may help as well
Attached File(s)
Attached File  BrowseForURLorFile.zip ( 12.41K ) Number of downloads: 6
 
Go to the top of the page
 
+
freakazeud
post Nov 15 2006, 08:02 AM
Post #4

UtterAccess VIP
Posts: 31,413
From: NC, USA



Hi,
I would suggest you rather use a text datatype field instead of a hyperlink. Within that you can store the full string paths to the external files. Since users should never see the table or query level and only do what they are supposed to through an interface (forms) you can use the on click event of a control on a form bound to this table field to open up the file. To achieve that you can use the FollowHyperlink or Shell method e.g.:

Application.FollowHyperlink Me.YourControl

Where YourControl is the control bound to the text datatype table field holding the full string path to the file.
HTH
Good luck
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 23rd May 2013 - 02:18 AM