Hi, Eric.
it's about 9Mb. I use compact and repair regularly. This
database size does not represent any significant amount
data. What takes up the most space?
If it's not data taking significant space, then look for graphics embedded
on forms or reports. Each graphic image on a form is about 32 KB added to
the database size.
If it's not the graphics taking up the space, then make a copy of the
database. Use the /decompile command-line switch on the database copy to
decompile the code. Open the copy and compile the code in the VB Editor.
Now, compact and repair. Is the copied database about the same size as the
original? If the copy is significantly smaller than the original, then your
database is the victim of code bloat, and you've just solved the problem.
Unicode compression may also help save space in the tables that hold text or
memo data, so make sure that Unicode compression is turned on.
What takes up the most space?..., fields with excess space allocation
There's no such thing as "excess space" allocation for records in a Jet
database. One of the compromises of DBMS's is space versus speed of access.
It's much faster for the database engine to access data if all records in a
table are exactly the same size. However, this wastes significant disk
space, because each record using less than the allotted text space will fill
the excess space with space characters. The designers of Jet decided to
forego the speed of access advantage and went with the disk space advantage
for the desktop database. No extra space characters are added to records to
make them all of equal size in each table. If a record only uses five
characters for a field size of 20, then only five characters are stored, not
20.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)