Temp local tables are notorious database bloaters. Adding and deleting
records in temp tables will make your database file quickly grow. Put your
temp tables in a separate external database and link to the tables. Make a
copy of the database and save it. Each time you need to delete records and
add new records, delete the temp database file, make a new file from your
copy and then populate the tables.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1175 users have come to me from the newsgroups requesting help
resource@pcdatasheet.com
"DFS" <nospam@dfs_.com> wrote in message
news:fU8_f.4041$Za3.474@bignews7.bellsouth.net...[color=blue]
> Largish system, was 13mb (after de/compile and compact/repair)
>
> It's mostly forms, queries and code. About 40 local tables (with tiny
> numbers of records, like 1 to 10)
>
> Recently added a few more TEMP* local tables (no records) and a couple of
> screens and a few hundred lines of code
>
> Now it's 44mb after de/compiled and compact/repair!
>
> Another odd thing is a routine that was taking 5 or 6 seconds to run while
> building it started completing in 3 seconds. As if the entire routine was
> cached.
>
> I don't mind creating a new file and importing everything, but I'd like to
> know what caused the blowup. Too strange.
>
> Thanks
>
>[/color]