Richard,
I generally include a table in the database that has one or more program
parameters that I set for the whole program (all users). One of these
fields is a Yes/No field called: "InMaintenance".
In my application front end, in the Splash screens timer event (interval
usually set to 60000), I add some code to test to see whether the
InMaintenance field is true. If so, I display a warning message to the
user, and begin a count-down timer, usually giving the user 5 - 10 minutes
to log off (I usually pop up the reminder about every 2 minutes and
occassionally just open the timer window and leave it on screen so that they
can see it counting down).
When the timer reaches zero, I call a subroutine that loops through all of
the open forms and closes them (usually after performing a frm.Undo
operation to cancel any pending changes). Then, once the last form is
closed, it quits the application.
Although this can give you some upset users when the record they were on
closes without being saved, but such is life.
Then, I create a simple application that the network admin opens and runs
whenever he/she is going to take down the server. It just runs an update
query that changes the [InMaintenance] field to NOT [InMaintenance] for each
of the databases I have running on that server. After they have rebooted,
they run the same application again to Set InMaintenance to False
HTH
Dale
Richard said:
I have a form sub form one to many, multi-user database. This will be split
with the backend on a network server and front ends placed on a couple of
desktops. My question is what happens when the server goes down say for
routine maintenance. Does everything come to a screeching halt? Or are the
user allowed to make their records and print reports, then run a update
query
to append the new records at a later time? Id would like to read an
article
or some type of info on this subject.