Rabu, 11 Juni 2014

RE: [MS_AccessPros] Link

 

Hello Bill

You can use FollowHyperlink to open a folder in Windows File Explorer – for example:

FollowHyperlink "C:\Windows"
FollowHyperlink "\\server\myshare\My Folder"
FollowHyperlink CurrentProject.Path
FollowHyperlink Me.SomeControlName

The last of these shows how the destination can change with different records.  Or, of course, your code could “construct” the destination folder from values in the current record – perhaps by removing the file name from a full path.

All the best,
Graham

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Thursday, 12 June 2014 09:48
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Link

 

 

I am wondering if it is possible to make a button on one of my forms browse to a certain location on my network or on my computer.   I keep going back and forth and it would sure be nice to have quicker access. 

 

The next question is… is it possible for that button to go to different files on the network based on the Access record that I am on?

 

Thanks for your help.

 

Bill

MN

 

__._,_.___

Posted by: "Graham Mandeno" <graham@mandeno.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

.

__,_._,___

Tidak ada komentar:

Posting Komentar