Re: limiting/controlling MDB File Size

From: Mike Papageorge (mikep_at_itenergy.net)
Date: 02/23/04


Date: Mon, 23 Feb 2004 16:04:10 -0000

you can't prevent the file from growing. access needs to do this as
information is cached. however, you can do things that help the overall size
of the file:

1. keep tables in a separate database and link you client end to it. the
client then stays a more stable size.
2. manage your temporary tables better
3. create a new access file and import all objects from the existing
database into that file. this helps clear out junk that builds up
4. create a new startup shortcut pointing to your access database and end it
with: ' /decompile'. load the app, let it decompile then recompile from a
code window and compact and repair. this is the best way to reduce size and
can make a difference that lasts for several weeks. you can then run the
decompile once a month or so

"vb" <anonymous@discussions.microsoft.com> wrote in message
news:14de701c3fa22$5e1df700$a001280a@phx.gbl...
> I developed an access application whose size keeps
> growing. I tried to delete the code/objects that I dont
> need but it still no use. Usually I compact the file at
> the end of the day.
>
> Is there a way that I can have a control of the size of
> the mdb file?
>
> thanks
> vb



Relevant Pages

  • Re: Why am I getting this Error?
    ... > database, so I'm going to suggest a sequence to try to rescue it. ... Decompile the database by ... Open Access, and compact again. ... Still in the code window, choose Compile from the Debug menu. ...
    (microsoft.public.access.formscoding)
  • Re: Problem with After Update (and other) events
    ... If the problem persists even after the decompile, compact, and create-new-database on the problem machine, and all other factors are in order, and it works on all other machines, there could be a problem with that machine. ... Then compact the database: ... Win XP Pro En, ...
    (microsoft.public.access.forms)
  • Re: Unwanted break mode @ startup Access 2K
    ... This can happen if the project is partially corrupt, and a Decompile should ... Compact the database to get rid of this junk: ... > Every time I start an application I made it goes into break mode at the ...
    (microsoft.public.access.modulesdaovba)
  • Re: Upgrading from office 2000 to 2003
    ... until I was able to clairify this info with you. ... All completely different copies of the database (i.e. each user is ... If, switch to, and decompile the front end on the A2003 machine. ... Compact the database to get rid of this junk: ...
    (microsoft.public.access.tablesdbdesign)
  • Re: What happened to UNDO?
    ... fresh new form in a fresh new database). ... Here's a standard sequence for the decompile: ... Compact the database: ... Uncheck any references you do not need. ...
    (microsoft.public.access.modulesdaovba)