Re: DB Front End is extremely large !
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Wed, 8 Mar 2006 15:24:57 +0800
SaveAsText/LoadFromText is undocumented, but the arguments are
straightforward. You just specify the type of object, its name, and the name
of the file.
You can use this programmatically, e.g. looping through the AllForms
collection. I'm not sure, but if memory serves correctly, this backup wizard
by Terry Kreft uses this technique:
http://www.mvps.org/access/modules/mdl0045.htm
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"SodaJim" <SodaJim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:16C9276B-E6CF-4AAD-93FE-ACF105A43C3A@xxxxxxxxxxxxxxxx
Hello again,
Where can I find info on SaveAsText/LoadFromText...?
I attempted to export everything as txt files but this didn't work well as
some fields had problems... Not to mention how time consuming this
technique
is since I had to export each object at a time...
I wish I knew what MSysAccessObjects table stored, why soo many records,
at
least in this case, and why I cannot delete any of the records in an
attempt
to minimize file size...
Thanks again,
Jim
"Allen Browne" wrote:
Jim, I don't really know what MSysAccessObjects does. It's a system table
with long binary data, and seems to relate to replication. 2614 seems
high.
An alternative approach might be to use the undocumented SaveAsText and
LoadFromText to rebuild the database, and see if that shrinks the number
of
entries in this table.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"SodaJim" <SodaJim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7CA30CC9-EB38-4765-BA66-E76A90B35317@xxxxxxxxxxxxxxxx
Thanks for quick response Allen!
I followed your instructions only to have the DB size reduced to 10
megs...
Here's a few details for analyzing:
3 tables:
tbl1 - 61 records
tbl2 - 19 records
tbl3 - 17 records
8 queries
5 forms with no images
2 reports
MSysAccessObjects - 2614 records
MSysACEs - 112 records
MSysObjects - 38 records
MSysQueries - 144 records
MSysRelationships - 1 record
This still seems like a very large foot print, 10 megs, for this DB...?
Any thing else I should be looking at or is this the nature of the
beast...?
Thanks again for your suggestions!
Jim
"Allen Browne" wrote:
Try this sequence:
1. Create a new database.
2. Turn off the Name AutoCorrect check boxes under:
Tools | Options | General.
3. Import (File | Get External | Import) the tables, or link them
(File |
Get External | Link) if the database is split.
4. Import the other objects (queries, forms, reports, macros,
modules.)
5. Set minimal References under Tools | References (from the code
window).
If you are not sure what references you need for your version of
Access,
see:
http://allenbrowne.com/ser-38.html
6. Compile (Debug menu, from the code window).
7. Compact:
Tools | Database Utilities | Compact
The other thing that can make the front end large is any graphics you
have
imported into your forms or reports, or stored in an OLE Object field
in
a
table.
.
- References:
- Re: DB Front End is extremely large !
- From: Allen Browne
- Re: DB Front End is extremely large !
- From: Allen Browne
- Re: DB Front End is extremely large !
- From: SodaJim
- Re: DB Front End is extremely large !
- Prev by Date: Re: Primary key Failure
- Next by Date: Please help - text export has stopped working
- Previous by thread: Re: DB Front End is extremely large !
- Next by thread: Multiple Small Tables or one large one???
- Index(es):
Relevant Pages
|