Apologies in advance for the wordy post.
I'm looking for some advice on the best way to set a system wide default in a split DB.
We have a number of offices that are all running their own versions of the same DB. The offices are not linked, that's for the future. However sometimes data is shared across the offices, so each office has a unique region assigned to it and they assign this region to the customers in their customer table.
Each location has a Back End and a number of Front Ends. At each location the Back End is stored on their local server as are the Front Ends. Each user has a shortcut on their PC pointing to their version of the Front End on the server. I find this easier then trying to get users to install the Front End on their PC's.
Apart from data in the Back End, all of the offices have identical Back End structure and Front End files. Primary field values like customer numbers are set by the head office so that there is no data collision when sharing data.
Currently, when I create a query, I need to include a prompt that asks the user to enter their region before the query executes so that they get the results they want for their region only.
It works OK but looks a bit lazy and messy, and it means that the users always need to enter their region before any query executes. One of my projects in my final year of employment is to tidy up things like this.
I've been thinking about a couple of approaches including creating a "SystemDefault" table from where I can load values in to the queries, or maybe setting a public variable in the Front End that will be used in the queries.
Whichever way I go, I want to be able to have the user set their region as a default, or change the regional value if they need (that's mostly for head office).
I thought about a form that would allow the user to choose the region from a combo box linked to the SystemDefault table and include a tickbox that will allow them to set that value as a default, thereby only needing them to set the default region value once within and between sessions.
I'm open to any suggestions or thoughts on which would be the best approach to this.