P
Parker
I have an Access 97 db that has two main forms. The first is a form for
users to build search criteria to query the database. The second form
has a listbox that is populated by what is selected by the user in the
result listbox on the search (first) form. The queries for the
population of both listboxes can be quite large (too large, in fact, to
use a SQL statement to populate th listboxes). So, I have tables that I
insert records into based on what the user selects. Then a "Select * "
SQL statement is used as the rowsource for the listboxes. The tables
are then cleared (with a "Delete * " SQL statement) everytime the user
searches using the first form and when the forms are closed. My problem
is that the mdb file grows substantially everytime the application is
used. The only way I have found to fix it is to compact the database.
Since this is Access 97, I cannot compact on close. Are there any other
options for me? Is there a way to code the listbox population so it
does not cause this file size growth? Thanks in advance for any help.
users to build search criteria to query the database. The second form
has a listbox that is populated by what is selected by the user in the
result listbox on the search (first) form. The queries for the
population of both listboxes can be quite large (too large, in fact, to
use a SQL statement to populate th listboxes). So, I have tables that I
insert records into based on what the user selects. Then a "Select * "
SQL statement is used as the rowsource for the listboxes. The tables
are then cleared (with a "Delete * " SQL statement) everytime the user
searches using the first form and when the forms are closed. My problem
is that the mdb file grows substantially everytime the application is
used. The only way I have found to fix it is to compact the database.
Since this is Access 97, I cannot compact on close. Are there any other
options for me? Is there a way to code the listbox population so it
does not cause this file size growth? Thanks in advance for any help.