John M wrote:
Hi,
I am producing what I would have expected to be quite a small database. (By
small I mean in terms of the the code etc rather than the data.) I have had
all sorts of problems, as I'm a novice, with creating combo boxes and event
procedures, then deleting them etc. Has this somehow created a lot of
'empty space'. (Excuse the terminolgy!) If this is the case, is there any
way of retrieving it? So far I have used 'Compact and Repair' and made a
new databese and copied all the tables etc to it. All to little avail.
During the design process, and especially when creating tables and using
queries, the database will inflate. All kinds of temporary data objects
are created.
When you Compact, these temporary objects are removed. Many queries will
take a moment extra the first time they run after a Compact (namely to
re-create the temporary object, which acts as speedup).
You don't need to Repair, and unless instructed to do so, shouldn't.
Creating a new database and importing objects from the other usually
solves any corruption issues, and tends to bring the size down.
So far, you followed 'the right path'. How many forms have you got?
Average number of controls?
Large tables? Are the tables in the same database, or did you link them?
(in the latter case, their content size should not add to the database
of course)
--
Bas Cost Budde
http://www.heuveltop.org/BasCB
but the domain is nl