PC Review


Reply
Thread Tools Rate Thread

How do a find the size of an embedded document in an access table

 
 
=?Utf-8?B?Q1MtTWVsYg==?=
Guest
Posts: n/a
 
      15th Jul 2007
I have been given an access table to manage, which holds MS Word documents.
The Table has started to get very big very fast. I want to find which
documents are creating the problem. Is there a was in Access to display the
Document size in bytes, kn or mb and then find and sort on these.
The Table format is quite simple, ID, Name of Doc, Document (Long Binary)
and a date/time stamp. But in the past 2 months its doubled in size even
after compression. We have used it for 2 years and it stayed fairly small.
I want to find the documents that are doing this and see if we adjust.
 
Reply With Quote
 
 
 
 
Arvin Meyer [MVP]
Guest
Posts: n/a
 
      15th Jul 2007
All of the documents are creating the problem. Instead of embedding and
storing the documents within the database, store the path to them on a
server or hard drive. An free app to do that is on my website:

http://www.datastrat.com/Download/DocMgr_2K.zip
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com

"CS-Melb" <CS-(E-Mail Removed)> wrote in message
news:3880C4F5-0C96-4FBC-8C7B-(E-Mail Removed)...
>I have been given an access table to manage, which holds MS Word documents.
> The Table has started to get very big very fast. I want to find which
> documents are creating the problem. Is there a was in Access to display
> the
> Document size in bytes, kn or mb and then find and sort on these.
> The Table format is quite simple, ID, Name of Doc, Document (Long Binary)
> and a date/time stamp. But in the past 2 months its doubled in size even
> after compression. We have used it for 2 years and it stayed fairly small.
> I want to find the documents that are doing this and see if we adjust.



 
Reply With Quote
 
=?Utf-8?B?Q1MtTWVsYg==?=
Guest
Posts: n/a
 
      15th Jul 2007
Thanks Arvin,
Unfortunately that's a very long term solution. The Database application
was not written by me and I do not have the code behind it, and its a run
time. The Guy who built it left and seems to have dropped off the planet.
I'm left with one table (of many) that hold all the Word docs.
I forgot mention the table is in Access 97 format. Again can't do much
about it until we have 12 months to redesign and build it.

CS-Melb


"Arvin Meyer [MVP]" wrote:

> All of the documents are creating the problem. Instead of embedding and
> storing the documents within the database, store the path to them on a
> server or hard drive. An free app to do that is on my website:
>
> http://www.datastrat.com/Download/DocMgr_2K.zip
> --
> Arvin Meyer, MCP, MVP
> http://www.datastrat.com
> http://www.mvps.org/access
> http://www.accessmvp.com
>
> "CS-Melb" <CS-(E-Mail Removed)> wrote in message
> news:3880C4F5-0C96-4FBC-8C7B-(E-Mail Removed)...
> >I have been given an access table to manage, which holds MS Word documents.
> > The Table has started to get very big very fast. I want to find which
> > documents are creating the problem. Is there a was in Access to display
> > the
> > Document size in bytes, kn or mb and then find and sort on these.
> > The Table format is quite simple, ID, Name of Doc, Document (Long Binary)
> > and a date/time stamp. But in the past 2 months its doubled in size even
> > after compression. We have used it for 2 years and it stayed fairly small.
> > I want to find the documents that are doing this and see if we adjust.

>
>
>

 
Reply With Quote
 
Stephen Lebans
Guest
Posts: n/a
 
      15th Jul 2007
Add an OLE Frame control to a form bound to the table in question. Loop
through all of the records and take the LenB of the Value prop of a Bound
OLE Frame control. Any document containing Images is likely the suspect(s).

You can export the contents of the field to disk. See:
htttp://www.lebans.com/oletodisk.htm
NEW - Feb 06/2006 ExtractInventoryOLE.zip A2K or higher ONLY! This
version saves the entire contents of a table containing OLE Objects to disk.
Does NOT require the original application that served as the OLE server to
insert the object. Supports all MS Office documents, PDF, All images
inserted by MS Photo Editor, MS Paint, and Paint Shop Pro. Also supports
extraction of PACKAGE class including original Filename. Contains function
to produce a full Inventory of the OLE field including LINKED path and
Filenames. Uses Structured Storage API's to read the actual contents of the
field.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


"CS-Melb" <(E-Mail Removed)> wrote in message
news:E71C7DA8-0B17-48CD-BEB0-(E-Mail Removed)...
> Thanks Arvin,
> Unfortunately that's a very long term solution. The Database application
> was not written by me and I do not have the code behind it, and its a run
> time. The Guy who built it left and seems to have dropped off the planet.
> I'm left with one table (of many) that hold all the Word docs.
> I forgot mention the table is in Access 97 format. Again can't do much
> about it until we have 12 months to redesign and build it.
>
> CS-Melb
>
>
> "Arvin Meyer [MVP]" wrote:
>
>> All of the documents are creating the problem. Instead of embedding and
>> storing the documents within the database, store the path to them on a
>> server or hard drive. An free app to do that is on my website:
>>
>> http://www.datastrat.com/Download/DocMgr_2K.zip
>> --
>> Arvin Meyer, MCP, MVP
>> http://www.datastrat.com
>> http://www.mvps.org/access
>> http://www.accessmvp.com
>>
>> "CS-Melb" <CS-(E-Mail Removed)> wrote in message
>> news:3880C4F5-0C96-4FBC-8C7B-(E-Mail Removed)...
>> >I have been given an access table to manage, which holds MS Word
>> >documents.
>> > The Table has started to get very big very fast. I want to find which
>> > documents are creating the problem. Is there a was in Access to
>> > display
>> > the
>> > Document size in bytes, kn or mb and then find and sort on these.
>> > The Table format is quite simple, ID, Name of Doc, Document (Long
>> > Binary)
>> > and a date/time stamp. But in the past 2 months its doubled in size
>> > even
>> > after compression. We have used it for 2 years and it stayed fairly
>> > small.
>> > I want to find the documents that are doing this and see if we adjust.

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?Q1MtTWVsYg==?=
Guest
Posts: n/a
 
      15th Jul 2007
Thanks Stephen,
I'll give it whirl.

CS-Melb

"Stephen Lebans" wrote:

> Add an OLE Frame control to a form bound to the table in question. Loop
> through all of the records and take the LenB of the Value prop of a Bound
> OLE Frame control. Any document containing Images is likely the suspect(s).
>
> You can export the contents of the field to disk. See:
> htttp://www.lebans.com/oletodisk.htm
> NEW - Feb 06/2006 ExtractInventoryOLE.zip A2K or higher ONLY! This
> version saves the entire contents of a table containing OLE Objects to disk.
> Does NOT require the original application that served as the OLE server to
> insert the object. Supports all MS Office documents, PDF, All images
> inserted by MS Photo Editor, MS Paint, and Paint Shop Pro. Also supports
> extraction of PACKAGE class including original Filename. Contains function
> to produce a full Inventory of the OLE field including LINKED path and
> Filenames. Uses Structured Storage API's to read the actual contents of the
> field.
> --
>
> HTH
> Stephen Lebans
> http://www.lebans.com
> Access Code, Tips and Tricks
> Please respond only to the newsgroups so everyone can benefit.
>
>
> "CS-Melb" <(E-Mail Removed)> wrote in message
> news:E71C7DA8-0B17-48CD-BEB0-(E-Mail Removed)...
> > Thanks Arvin,
> > Unfortunately that's a very long term solution. The Database application
> > was not written by me and I do not have the code behind it, and its a run
> > time. The Guy who built it left and seems to have dropped off the planet.
> > I'm left with one table (of many) that hold all the Word docs.
> > I forgot mention the table is in Access 97 format. Again can't do much
> > about it until we have 12 months to redesign and build it.
> >
> > CS-Melb
> >
> >
> > "Arvin Meyer [MVP]" wrote:
> >
> >> All of the documents are creating the problem. Instead of embedding and
> >> storing the documents within the database, store the path to them on a
> >> server or hard drive. An free app to do that is on my website:
> >>
> >> http://www.datastrat.com/Download/DocMgr_2K.zip
> >> --
> >> Arvin Meyer, MCP, MVP
> >> http://www.datastrat.com
> >> http://www.mvps.org/access
> >> http://www.accessmvp.com
> >>
> >> "CS-Melb" <CS-(E-Mail Removed)> wrote in message
> >> news:3880C4F5-0C96-4FBC-8C7B-(E-Mail Removed)...
> >> >I have been given an access table to manage, which holds MS Word
> >> >documents.
> >> > The Table has started to get very big very fast. I want to find which
> >> > documents are creating the problem. Is there a was in Access to
> >> > display
> >> > the
> >> > Document size in bytes, kn or mb and then find and sort on these.
> >> > The Table format is quite simple, ID, Name of Doc, Document (Long
> >> > Binary)
> >> > and a date/time stamp. But in the past 2 months its doubled in size
> >> > even
> >> > after compression. We have used it for 2 years and it stayed fairly
> >> > small.
> >> > I want to find the documents that are doing this and see if we adjust.
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Bob Quintal
Guest
Posts: n/a
 
      15th Jul 2007
"Stephen Lebans"
<ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.com> wrote
in news:(E-Mail Removed):

> Add an OLE Frame control to a form bound to the table in
> question. Loop through all of the records and take the LenB of
> the Value prop of a Bound OLE Frame control. Any document
> containing Images is likely the suspect(s).
>
> You can export the contents of the field to disk. See:
> htttp://www.lebans.com/oletodisk.htm
> NEW - Feb 06/2006 ExtractInventoryOLE.zip A2K or higher
> ONLY! This version saves the entire contents of a table
> containing OLE Objects to disk. Does NOT require the original
> application that served as the OLE server to insert the
> object. Supports all MS Office documents, PDF, All images
> inserted by MS Photo Editor, MS Paint, and Paint Shop Pro.
> Also supports extraction of PACKAGE class including original
> Filename. Contains function to produce a full Inventory of the
> OLE field including LINKED path and Filenames. Uses Structured
> Storage API's to read the actual contents of the field.


Stephen, you are a Godsend.

This is just what I need to recover some archival data from rev.
- of a software I wrote several years ago. From rev. 1 the
attachments are stored in a subdirectory on the server not in
the table. But othre than manually exporting a few documents as
needed, those in the original version were unreachable.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

 
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
Find text in embedded Visio diagrams within a Word document. DarrenD Microsoft Word Document Management 0 20th Apr 2010 01:48 PM
Window size for embedded document bob1122 Microsoft Word Document Management 0 17th Dec 2008 01:12 AM
Find within an embedded document object Giggly4g Microsoft Excel Misc 0 25th Jul 2008 04:18 AM
How do you find the source document from an embedded object? =?Utf-8?B?U2hhbg==?= Microsoft Word Document Management 1 21st May 2007 12:37 PM
Embedded Word table objects change size in PowerPoint 2003 JS Microsoft Powerpoint 6 15th Sep 2006 04:02 PM


Features
 

Advertising
 

Newsgroups
 


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