K
kabaka
Hi,
I'm running A97 and an application that creates / deletes tables & queries
fairly frequently. I have a navigational form that is open at all times and
only closes when the database itself is closed. From my readings on this
newsgroup, I am aware of a built in function "compact on close" available in
newer versions of Access. Pigs will fly before we upgrade to Office 2000 or
2003 (I work in a very large company & the cost....blah blah blah). Does
anyone have a suggestion (i.e. a little bit of code) that would help me to
simulate a compact on close.
I've struggled with this concept as I can't ever seem to overcome the fact
that until the database is closed the ldb exists and I can't compact via code
if the ldb exists and I want to compact before the database is closed (so the
code will run)....... you get the picture.
I'm running A97 and an application that creates / deletes tables & queries
fairly frequently. I have a navigational form that is open at all times and
only closes when the database itself is closed. From my readings on this
newsgroup, I am aware of a built in function "compact on close" available in
newer versions of Access. Pigs will fly before we upgrade to Office 2000 or
2003 (I work in a very large company & the cost....blah blah blah). Does
anyone have a suggestion (i.e. a little bit of code) that would help me to
simulate a compact on close.
I've struggled with this concept as I can't ever seem to overcome the fact
that until the database is closed the ldb exists and I can't compact via code
if the ldb exists and I want to compact before the database is closed (so the
code will run)....... you get the picture.