Backup Demo
===========

This demo has two programs:

DbDemo is a small program that opens a database (creating it if
necessary) and does some simple queries and updates.  It can be
run passing a database folder on the command line if you want
to test access over the network to a database on a file share.

BackupDemo is a small program that opens the database (creating
it if necessary) and sets Jet Connection Control to prevent new
connections.  Then it polls the database for a list of current
users/connections and displays them.  Once the connection count
is one (just this program) it closes the current database, copies
it as a backup, and uses JRO to compact the backup to create a
new "current" database.


The Demo
========

Open each Project and compile (Make) it.

Run DbDemo and create a few records.

Run a second copy of DbDemo.

Run BackupDemo.  Observe the users list.

Close a copy of DbDemo and the list shown in BackupDemo should
change to reflect this.

Close the other copy of DbDemo.

Try starting a new DbDemo copy.  It should fail with an error
message describing the database's state, which currently blocks
attempts to open or lock it.

When the last DbDemo is gone, BackupDemo should enable its "Back
Up MDB" button.  Click on this to start the compact & backup
process.
