Retval is a global variable I use for VERY temporary things. In this case it is never used, except as the receipent of the Shell function's return.
This is then followed by the application quit, so the Refresh database can copy the network MASTER back to the local C: drive. (the Refresh database then recalls the original DB name)
Last note: The path to the RefreshDB.mdb should be in a Const variable defined in my Declarations area. And yes, I do plan on fixing it.
This information goes where ever you want to put it. Best to put it within the OnClick event of a button you create to open another database.
If you would look at the "equation" you would see something that has .mdb following it. A Microsoft Access database is known by the suffix of .mdb. Of course, the stuff in front of the database name is the path (location) of the database.