473,385 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Hyperlink default folder

I am an Access 2010 newby.

I have a database that keeps track of all farm documentation such as scanned receipts, logs, inspections, etc. All of these scans are in the folder: C:\Users\FOffice\Documents\My Scans\Scanned\*.png

The database is located in c:\Users\FOffice\Documents\FarmDat

It is a real pain to have to select the path for every single record to the same folder when I add the hyperlink.

I have a parameter "paraScanKey" that has the name of the scan but not the path. What I really would like is for Access to add the hyperlink so that there is no human error.
Sep 15 '11 #1
5 13094
pod
298 100+
"...when I add the hyperlink."

Are you working with a form?
... using VBA code?

Have you tried making use of the default value in your table?
ex: Default Value : "C:\Users\FOffice\Documents\My Scans\Scanned\" ... this would open up a file explorer window to the specified path
Sep 15 '11 #2
ADezii
8,834 Expert 8TB
I created a Demo for you that will:
  1. Open the Microsoft Office File Dialog to the Default Folder of:
    Expand|Select|Wrap|Line Numbers
    1. C:\Users\FOffice\Documents\FarmDat
  2. Filter the Dialog only to display *.png Files.
  3. Once you Select a *.png File, it is automatically copied to a Text Box Bound to a Hyperlink Data Type Field.
  4. What this essentially does is to Copy the Hyperlink directly to the underlying Hyperlink Field in a Table.
  5. Download the Attachment to see what is happening first hand.
Attached Files
File Type: zip Copy Hyperlink.zip (14.5 KB, 843 views)
Sep 16 '11 #3
NeoPa
32,556 Expert Mod 16PB
ADezii:
1. Open the Microsoft Office File Dialog to the Default Folder of:
C:\Users\FOffice\Documents\FarmDat
Would that not be better set to "C:\Users\FOffice\Documents\My Scans\Scanned\"?

Unfortunately, most of us don't have the time to investigate attachments, so I wasn't able to tell if this was a typo. I'm only going by what's in the post (which is true for most users of course) so remember that's where the answer mainly needs to be.
Sep 26 '11 #4
ADezii
8,834 Expert 8TB
Would that not be better set to "C:\Users\FOffice\Documents\My Scans\Scanned\"?
It wasn't a type but it was an Oversight!(LOL)
Thank you.
Sep 26 '11 #5
Zubair Mughal
3 2Bits
This is the Most Comprehensive Code, that define in Zip file. Excellent.
May 31 '21 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Randal Greene | last post by:
We are using hyperlinks quite extensively in our Access XP application, and would like to control the working directory (default folder) used by the Insert Hyperlink dialog. Thanks in advance for...
0
by: Freddie | last post by:
I have a simple visual basic program that looks thru my outlook inbox. I start the program from a scheduled task, running on a server. It works perfectly when I'm logged in, but when I'm not the...
0
by: gavin | last post by:
Want to print to a file in MDI Format. Have set up a Microsoft Office Document Image Writer Printer. How can I change the Default Folder in Printing Preferences in the Advanced Tab ...
2
by: aa | last post by:
I have installed IIS on win XP pro However I cannot find a control panel like PWS on w2k to change default folder. How do I do that?
0
by: Zippy | last post by:
Hi. I have recently updated from A97 to A2003. In A97, when browsing to insert a hyperlink, it would open the folder location specified as the 'Default Database Folder'. In A2003, it...
0
by: Zippy | last post by:
Hi. I have recently updated from A97 to A2003. In A97, when browsing to insert a hyperlink, it would open the folder location specified as the 'Default Database Folder'. In A2003, it...
1
by: mpetter | last post by:
Hi guys ! How Can I Create a contact item(Outlook 2003) in specific folder under default folder? I have this situation: Set myolApp = CreateObject("Outlook.Application") Set myNameSpace =...
3
tdw
by: tdw | last post by:
I have a working hyperlink field in a table, and it's form. I also have a working File Picker Dialog: FileDialog(msoFileDialogFilePicker), being used to create the hyperlink. What I need to do, and...
0
by: HugoFromBOSS | last post by:
Hello, All Virtualhosts are routing to my default folder. Any Ideas? Thanks
3
by: =?Utf-8?B?TGllbGE=?= | last post by:
I have a user who stores her documents on a different drive and when she attempts to open documents it auto defaults to My Documents instead of her other drive. Is there a way to change the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.