I have an access database that runs about 500 megs once compacted. However, I have a ton of macros that create temporary tables. These tables run about 500 megs each. I delete the temp tables after I am done with each 500 meg table (there are 3 such beasties), but access does not release the space so I am nearing/exceeding the 2 gig limit. Note that I am writing my temp results to the same table each time. I would have thought that this would have simply overwritten the previous stuff rather than creating new stuff (sorry for the technical use of language).
Is there any way to compact the database or reclaim the space from a macro? The only solution I have so far is to run one macro to create the temp table and process it, then delete the temp table, then compact the database and then start all over again with the next macro. The problem is that I am developiong this for someone else and would like it to be a little more idiot proff than this.
Also, compacting takes 10-15 minutes depending on which machine I use (1.8 GHz or 1.0 GHz). Any ideas would be great.
TIA.
Is there any way to compact the database or reclaim the space from a macro? The only solution I have so far is to run one macro to create the temp table and process it, then delete the temp table, then compact the database and then start all over again with the next macro. The problem is that I am developiong this for someone else and would like it to be a little more idiot proff than this.
Also, compacting takes 10-15 minutes depending on which machine I use (1.8 GHz or 1.0 GHz). Any ideas would be great.
TIA.