"David W. Fenton" <dXXXfenton@bway.net.invalid> wrote in message
news:Xns9484D898BF841dfentonbwaynetinvali@24.168.1 28.74...[color=blue]
> "DFS" <nospam@nospam.com> wrote in
> news:1020ck511kud667@corp.supernews.com:
>[color=green]
> > One of my larger Access97 systems is now 12mb of code: queries,
> > forms, reports, and modules (with a few tiny lookup tables). It
> > also contains 45 links to an Access back-end, and 20 links to a
> > SQL Server db
> >
> > Just today I replaced 16 subforms used for looking up data with 1
> > subform and a little code (ala David Fenton's LookupAdmin system).
> > That helped a little, but it's still a sizeable program.
> >
> > Which objects take up the most space? Is there a way to see the
> > individual object sizes?[/color]
>
> Are there any graphics in it? I have seen that bloat things a lot.[/color]
No graphics. Lots of forms:
91 forms (2/3 are subforms)
25 ODBC links
20 local tables (all small)
46 Access links
6 modules
106 queries
47 reports (about half are subreports)
It's getting pretty big. I have another system (Access2000) that's even
bigger; it's approaching 20mb.
[color=blue]
> I'd recommend that you try creating a brand-new MDB and importing,
> and then see how big it is with the objects freshly imported (do a
> compact but don't open anything). If it's 8 or 10MBs, then 12 sounds
> about right for one that's in use. If it's 4 or 5, then there must
> be something wrong with the MDB file (I've seen corruption that is
> never removed by a compact that bloats the file significantly, but
> that doesn't cause any noticeable problems).[/color]
Haven't tried a new .mdb. I'm not really worried about the size, just
curious.
[color=blue]
> If this new MDB then bloats up, then you've got a design problem.[/color]
[color=blue]
> You shouldn't be writing to any tables in the front end, especially
> if you're deleting records from those tables,[/color]
I disagree.
[color=blue]
> and you shouldn't be
> writing temporary QueryDefs. The jury is out on unnamed using
> QueryDefs to open recordsets, which some people say can lead to
> bloat and others claim cannot.[/color]
Don't use them.
[color=blue]
> Another thing is to convert to an MDE and see what size the MDE
> comes out as.[/color]
I always distribute the .mde, and it's about 6mb.
Thanks
[color=blue]
> --
> David W. Fenton
http://www.bway.net/~dfenton
> dfenton at bway dot net
http://www.bway.net/~dfassoc[/color]