Link a Microsoft Access Front End to Multiple Client Back Ends
Question details
Use one Microsoft Access front end to work with separate client data while showing one client's records at a time.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- The user manages data for multiple clients and may eventually give a database to an individual client.
- Observed behavior
- The front end needs a way to select one client's data or connect to that client's separate back end.
Identify the tables that contain client data and confirm that they have a CustomerID field or can be related to a client record. If using separate back ends, make sure their table names and structures are consistent.
Filter a shared Access back end by the selected client
Use one back end and a client selector to simplify maintenance when the database is used internally.
Open the startup form in Design View and add a combo box that lists clients and stores the selected CustomerID. Keep the startup form open while working.
Use the combo box's After Update event to set a temporary variable such as SelectedCustomerID, or refer directly to the combo box on the open startup form.
Open each client-specific form's record-source query in Design View. In the CustomerID criteria row, use the selected value, for example [TempVars]![SelectedCustomerID], and apply equivalent filtering to related forms and reports.
Requery affected forms after changing the combo box selection. Select different clients and verify that forms and reports show only the intended records and that new records receive the correct CustomerID.

Relink the front end to a separate back end for each client
Use separate back ends when client data needs to be physically separated or a client will receive a database.
Use WPS Office for Client Documents and Spreadsheets
WPS Office is a free, lightweight, easy-to-use alternative for working with client documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make migration straightforward. It does not replace Microsoft Access or manage Access back-end links.

Frequently Asked Questions
Can one Access front end use different client back ends?
Yes. If the back ends have compatible table structures, use External Data > Linked Table Manager to relink the front end's tables to the appropriate client database.
Can I use a temporary variable instead of a client combo box?
Yes. Set a temporary variable such as SelectedCustomerID when the client is chosen, then reference it in record-source query criteria as [TempVars]![SelectedCustomerID]. Requery forms when the value changes.
Does filtering by CustomerID prevent clients from seeing other data?
No. Form and query filters control what is displayed but do not secure the underlying tables. For client distribution, use a separate database containing only that client's records and limit access to other back-end files.
How can I create a back end containing one client's records?
Use Make-Table queries with CustomerID criteria to create client-specific tables in a separate database. Check related records, relationships, indexes, and table structures before linking the front end to it.




