473,385 Members | 1,693 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.

"Attaching" documents to records

I'm creating an Access database that is replacing a public e-mail box.
Inquiries are generated from different parts of my company, and
answered by specialists in my department via this public e-mail box.
There are a lot of inherent limitations when dealing with e-mails, so
my management has mandated that I replace the whole thing with an
Access database.

I have much of the work done, but I'm stuck on one small point; I need
to replicate attachments in e-mails as linked files in the new
database. It is easy enough to set up a linked file field, but more
difficult to make it really easy for people to understand.

The way I have it set up now, the user must first save the file in the
publicly accessible network location, then create a link to it. Non
computer savvy users are having a hard time understanding the first
step, as it is much different then what they are used to. Even worse is
that that after this app is released there could hundreds or even
thousands of documents in one of these public folders, which would
confuse them even more.

What I would like to do is automate where the file is actually saved on
the network drive and make the whole process more akin to something
they do every day: attach documents to e-mails. I want the user to be
displayed a standard MS navigation window which allows them to select
the file for attachment. Clicking an "attach" button would then
automatically create the link and dump the file in the appropriate
network folder.

Unfortunately, I have no idea how this could be done, or even if it
could be. I was hoping somebody had come up with something like this
before.

Thanks in advance for any help or advice you may provide!

Note: I am using Access 97 and have basic VB skills.

May 22 '06 #1
2 2232
An***********@bcbsmn.com wrote in
news:11**********************@y43g2000cwc.googlegr oups.com:
I'm creating an Access database that is replacing a public
e-mail box. Inquiries are generated from different parts of my
company, and answered by specialists in my department via this
public e-mail box. There are a lot of inherent limitations
when dealing with e-mails, so my management has mandated that
I replace the whole thing with an Access database.
What I would like to do is automate where the file is actually
saved on the network drive and make the whole process more
akin to something they do every day: attach documents to
e-mails. I want the user to be displayed a standard MS
navigation window which allows them to select the file for
attachment. Clicking an "attach" button would then
automatically create the link and dump the file in the
appropriate network folder.

Unfortunately, I have no idea how this could be done, or even
if it could be. I was hoping somebody had come up with
something like this before.

Thanks in advance for any help or advice you may provide!

Note: I am using Access 97 and have basic VB skills.

start with opening the Windows file requester.
http://www.mvps.org/access/api/api0001.htm

Once you have a file name, generate an
unique file name by code,
http://www.mvps.org/access/api/api0005.htm

now use some code to copy the file_as to your new location, with
the new name.

Store the original file name (for display purposes) and the
unique name for accessing the file in a hyperlink field, or two
separate fields. in a table.

--
Bob Quintal

PA is y I've altered my email address.
May 22 '06 #2
Thanks a lot for the response Bob. I'll be sure to give this a try.

May 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Yvan J. Gagnon | last post by:
I am currenly developing a web site using Macromedia fireworks, and am trying to figure out a way (through hand-coding) of attaching a javascript function (onClick="doit=false") to each of the...
1
by: Christoph | last post by:
newFieldElement = document.createElement( 'INPUT' ); newFieldElement.onblur = new Function( "calculatePremiumOptionTotal( this );" ); In my (dynamically generated) javascript, I've never had a...
14
by: Pedro Werneck | last post by:
Hi I have a class A, with metaclass M_A, and class B, subclass of A, with metaclass M_B, subclass of M_A. A class C, subclass of B must have M_B or a subclass of it as metaclass, but what if...
134
by: James A. Donald | last post by:
I am contemplating getting into Python, which is used by engineers I admire - google and Bram Cohen, but was horrified to read "no variable or argument declarations are necessary." Surely that...
3
by: Paul | last post by:
I have an Access 2000 database with a form that is giving me some major headaches. When you open the form, it displays all records and allows editing, but has AllowAdditions set to False so that...
43
by: Christoph Schneegans | last post by:
Hi! Okay, so positions on "text/html" XHTML are totally contradicting. Anyway! I hope there's more consensus about "application/xml" XHTML. I've recently learned that Opera 9.0b2 does not only...
5
by: anEchteTrilingue | last post by:
Hi everybody. Thank you for reading my post. I am having trouble getting "this" to work in all versions of IE (it's fine in Firefox, opera, konqueror, etc). What I would like to do is add an...
19
by: maya | last post by:
hi, so what is "modern" javascript?? the same as "DOM-scripting"? i.e., editing content (or changing appearance of content) dynamically by massaging javascript objects, html elements, etc? ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.