> is there a way to fire a procedure on closing the DB?
> the application object doesn't have any events...so how?
>
> I would like to record in a table the date and time of the closing
>
> Nico
Open a hidden form at startup and use its Close or Unload event. When the app
(or Access) is closed those events will fire.

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
rocco - 18 Mar 2005 02:03 GMT
UH-UH..NICE!
> > is there a way to fire a procedure on closing the DB?
> > the application object doesn't have any events...so how?
[quoted text clipped - 5 lines]
> Open a hidden form at startup and use its Close or Unload event. When the app
> (or Access) is closed those events will fire.
The typical trick is to create a form that is opened as a hidden form
with the DB opens. The in the onClose event for the form fire the code.
David H
> is there a way to fire a procedure on closing the DB?
> the application object doesn't have any events...so how?
>
> I would like to record in a table the date and time of the closing
>
> Nico