PC Review


Reply
Thread Tools Rate Thread

attaching a word doc to a record.

 
 
=?Utf-8?B?QkJS?=
Guest
Posts: n/a
 
      23rd Feb 2006
I have a word document that i would like to attach to each record. Is it
possible to do this. Would doing this make my database slow, as each doc has
1-5 pictures in it?
thanks in advance.
BBR
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmVycnkgV2hpdHRsZQ==?=
Guest
Posts: n/a
 
      23rd Feb 2006
Check out Hyperlink fields. I'd think that it would be more efficient to
store the graphics in some graphic file format though.
--
Jerry Whittle
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"BBR" wrote:

> I have a word document that i would like to attach to each record. Is it
> possible to do this. Would doing this make my database slow, as each doc has
> 1-5 pictures in it?
> thanks in advance.
> BBR

 
Reply With Quote
 
=?Utf-8?B?QkJS?=
Guest
Posts: n/a
 
      27th Feb 2006
How would I go about attaching the picture to each record. I tried to use
the hyperlink function and I don't think I am doing this correctly.
Do I need to create a subtable to my main table and attach the picture
within that subtable???
thanks
 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a
 
      27th Feb 2006
Store the path (not the hyperlink) to the image in the DB. Store the path in
one field of the Table and store the image file name in another field. Don't
store the image itself in the DB. If you use a relative path then it should
be fine if the whole thing gets moved to a different machine. A Hyperlink
(if you need one later) can be dynamically built from the "path" retrieved
from the DB.

The function AppPath() will return the root Path of the Application. you
then concatenate all three together to create the full path to the image
file.

AppPath() & strPath & strImageFileName

If you didn't need the full path, you could get a relative path like this:

strPath & strImageFileName

BTW - that isn't exact code,..it is just to give you an idea of how to
proceed.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"BBR" <(E-Mail Removed)> wrote in message
news:798FB2DE-E426-4B43-A660-(E-Mail Removed)...
> How would I go about attaching the picture to each record. I tried to use
> the hyperlink function and I don't think I am doing this correctly.
> Do I need to create a subtable to my main table and attach the picture
> within that subtable???
> thanks



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Attaching' or linking a Word / pdf File to a Database Record Graham A Microsoft Access Getting Started 1 26th Oct 2008 11:07 PM
Attaching files in Word 2000 like attaching files to email =?Utf-8?B?UyB0cmFpbmVy?= Microsoft Word Document Management 1 23rd Dec 2006 08:54 PM
Attaching graphics to a record =?Utf-8?B?QW5uZW1hcmll?= Microsoft Access 4 18th Aug 2006 01:11 AM
Attaching a subform record to a parent record. =?Utf-8?B?cHZkYWxlbg==?= Microsoft Access VBA Modules 0 10th Mar 2006 04:46 PM
Attaching a bitmap as a record field for each record Rajesh Sharma Microsoft Dot NET 0 1st Jun 2004 11:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 PM.