My current database C&R on close and takes a bit since it is a large db. Whenever the user closes the database I would like a simple "Please wait... the database is performing closing operations" message to pop up while the database performs the C + R. I also need it to run a quick append query as well. I have tried using a form that on open runs the query and then runs .closedatabase, but this did not work. The form flashes open for a second and then the close events occur.
I also tried a message box, but I can't figure out how to get the message box to remain open while the compact and repair is occurring, I have to click OK first..
Any suggestions appreciated.