W
WC Justice
I have an mdb file that is linked to SQL Server (about 50 tables), has 4
small queries and 4 small forms. No reports, but numerous modules.
Basically, this mdb will be running 24/7 and executing code on demand which
uses automation to open and populate a Word document, convert it to a pdf and
then rename the pdf and move it to another network folder.
It just recently compacted from 73mb to less than 10mb. I'm afraid that,
once it is online 24/7, that it will have to be compacted regularly. I would
prefer to tune my code so that it doesn't bloat.
As far as I can tell, I'm closing recordsets and setting them to nothing,
etc. Any other tips, or is there some silver bullet method that deflates
everything at the end of a subroutine?
small queries and 4 small forms. No reports, but numerous modules.
Basically, this mdb will be running 24/7 and executing code on demand which
uses automation to open and populate a Word document, convert it to a pdf and
then rename the pdf and move it to another network folder.
It just recently compacted from 73mb to less than 10mb. I'm afraid that,
once it is online 24/7, that it will have to be compacted regularly. I would
prefer to tune my code so that it doesn't bloat.
As far as I can tell, I'm closing recordsets and setting them to nothing,
etc. Any other tips, or is there some silver bullet method that deflates
everything at the end of a subroutine?