<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff
size=2>Yes!</FONT></SPAN></DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff size=2>Look
through File System Objects (FSO). A starter on FSO is at <A
href="http://support.microsoft.com/default.aspx?scid=kb;en-us;186118">http://support.microsoft.com/default.aspx?scid=kb;en-us;186118</A>.
This is code that provides a lot of ability with file
manipulation. Files can be copied to a permanent location on a
server, and can then be re-opened using a hyperlink to that file. Your
code will need to re-name the file so that it is identified with the particular
database record, and FSO can do that as well. I created a table to store
these hyperlinks, since a singe record can have more than one
attachment.</FONT></SPAN></DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff size=2>Also,
go to <A
href="http://www.candace-tripp.com/access_downloads.htm">http://www.candace-tripp.com/access_downloads.htm</A> and
download the Windows Common Dialog demo prepared by Candace Tripp. (I
still appreciate Candace's work on these every time I save another
attachment.) The Common Dialog will get the full path to a saved file,
which can then be used by FSO to move or copy files.</FONT></SPAN></DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff size=2>Have
Fun!</FONT></SPAN></DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff size=2>Dan
Waters</FONT></SPAN></DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=999422018-11032003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV></DIV>
<DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
accessd-admin@databaseadvisors.com [mailto:accessd-admin@databaseadvisors.com]
<B>On Behalf Of </B>Hollis,Virginia<BR><B>Sent:</B> Tuesday, March 11, 2003 7:51
AM<BR><B>To:</B> accessd@databaseadvisors.com<BR><B>Subject:</B> [AccessD]
Adding Attachments<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2><SPAN class=830524313-11032003>Is there a way to
add a document as an attachment to a database? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=830524313-11032003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=830524313-11032003>The database
is used to request services. The data is entered by a customer and sometimes
the customer needs to add additional documentation to support their request.
The attachment might be a sketch or Word file.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=830524313-11032003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=830524313-11032003>Does anyone have
any idea how this might be done?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=830524313-11032003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=830524313-11032003>Virginia</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>