Others

Reduce Access Locking When Querying SQL Server Data

Olivia MillerOlivia Miller Nov 18, 2026 870 views

Question details

The user needs a less disruptive way to populate Access controls from SQL Server data without repeatedly creating local tables.

Product
Microsoft Access and Microsoft SQL Server
Device & OS
not provided
Scenario
Multiple users work with Access front ends that retrieve SQL Server data, including data for combo boxes.
Observed behavior
Repeated make-table queries create local tables and can cause locking or exclusive-access problems in the shared environment.
Before you start

Identify the make-table queries and combo boxes that use their results. Ask the database administrator which SQL Server tables or views users are allowed to query and whether direct connections from each front end are permitted.

Solution 1Recommended

Replace Make-Table Queries with Linked SQL Server Data

Use a permitted SQL Server view or table as the combo box data source instead of repeatedly creating local tables.

A SQL Server view is not automatically read-only. The database administrator can restrict users to SELECT permission when changes should not be allowed.

This approach reduces repeated local table creation but does not eliminate all Access or SQL Server locking.

1
Choose an approved data source

Ask the database administrator to identify or create a SQL Server view for the combo box, or approve an existing table. Request only the columns and permissions needed.

2
Link the view or table

If direct connections are permitted, open each Access front end and select External Data > New Data Source > From Database > SQL Server. Choose the option to link to the data source, select or configure an ODBC data source, and select the approved view or table.

3
Update the combo box

Open the form in Design View, select the combo box, and open its Property Sheet. On the Data tab, set Row Source to a query that selects the required columns from the linked view or table.

4
Retire and test the old query

Remove the make-table query from the form's workflow, then open the form in Form View and test the combo box with multiple users. Confirm that the expected rows appear and that users have the required SQL Server permissions.

Replace Make-Table Queries with Linked SQL Server Data
When direct connections are restricted: Do not bypass the existing SQL Server access policy. Work with the database administrator to use an approved connection and data-access arrangement.
Free Microsoft Office alternative

Use WPS Office for Everyday Office Documents

WPS Office is a free, lightweight alternative with a familiar interface for working with Microsoft Office documents. Its format compatibility makes it easy to move everyday files, though it does not replace Access or resolve SQL Server locking.

Open and edit Microsoft Excel XLSX, Word DOCX, and PowerPoint PPTX filesUse a familiar interface for everyday office tasksWork with exported tabular data in WPS SpreadsheetMove compatible Office documents without changing your database setup
microsoft office alternative - wps office

Frequently Asked Questions

Will a linked SQL Server view eliminate all locking?

No. It avoids repeatedly creating a local table, but Access and SQL Server can still use locks. Ask the database administrator to investigate if blocking continues.

Should I add NOLOCK to the SQL Server view?

Consult the database administrator first. NOLOCK can return uncommitted or inconsistent data and does not prevent every kind of lock.

How do I make a SQL Server view read-only for Access users?

Ask the database administrator to grant users SELECT permission on the view without granting modification permissions. A view is not inherently read-only.

Where do I change the data used by an Access combo box?

Open the form in Design View, select the combo box, and use the Data tab of its Property Sheet to edit the Row Source.