you're welcome. and btw, my previous post was not a scolding of any kind; i
posted it for the benefit of others who might read this thread.
"Neil" <(E-Mail Removed)> wrote in message
news:UedWi.3325$%(E-Mail Removed)...
> If only I'd waited another hour!... Thanks for your reply there (and
here!).
>
> "tina" <(E-Mail Removed)> wrote in message
> news:dwbWi.310118$(E-Mail Removed)...
> > answered in thread "Code for Break on Unhandled Errors", dated 10/31/07,
> > in
> > this newsgroup.
> >
> >
> > "Neil" <(E-Mail Removed)> wrote in message
> > news
7aWi.13094$(E-Mail Removed)...
> >> Thanks again, Arvin. Now I need one for setting the Break On Unhandled
> >> Errors option in VBA Tools | Options? Do you know of anything? Thanks!
> >>
> >> Neil
> >>
> >>
> >> "Arvin Meyer [MVP]" <(E-Mail Removed)> wrote in message
> >> news:%23F4Hu%(E-Mail Removed)...
> >> > To set the Compact on Close option, you must deal with menu options,
> >> > but
> >> > you can use the following to compact during the close event of the
last
> >> > form open.
> >> >
> >> > http://www.mvps.org/access/general/gen0041.htm
> >> > --
> >> > Arvin Meyer, MCP, MVP
> >> > http://www.datastrat.com
> >> > http://www.mvps.org/access
> >> > http://www.accessmvp.com
> >> >
> >> > "Neil" <(E-Mail Removed)> wrote in message
> >> > news:PZTUi.1252$(E-Mail Removed)...
> >> >>I would like to compact on close only if the database size goes over
a
> >> >>certain amount, rather than each time. Thus, I'd like to check the
file
> >> >>size and then perform the compact through code as the mdb's closing.
Is
> >> >>that possible?
> >> >>
> >> >> I suppose one option would be to set the Compact On Close option in
> >> >> the
> >> >> switchboard's On Close event, and then clear it whenever the
database
> > is
> >> >> opened. That would probably work. But I'd prefer a cleaner solution,
> >> >> where I can just call the compact function as the database is
closing
> >> >> (I'm guessing this isn't possible...).
> >> >>
> >> >> Thanks.
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>