On Tue, 21 Oct 2008 08:37:02 -0700, gci1000
<(E-Mail Removed)> wrote:
>Instead of constantly having to compact database, what is one way to use
>tables, or temp tables differently in such a case that the access database
>will not grow up so far. Right now, I have "delete * from table", then later
>... "insert into table from ...". Any suggestions ?
>Tanks,
If you really need to routinely empty and refill a table (hint: you probably
DON'T, since a SELECT query may get you the same result), consider putting the
temp table into a temporary .mdb file, created as needed, destroyed when
finished. Tony Toews has an example at
http://www.granite.ab.ca/access/temptables.htm
Again; note that if you're creating a table just so that you can base a report
or an export on it, you're wasting time and effort; you can base a report or
an export on a Query without creating a table.
--
John W. Vinson [MVP]