Reduce Access Locking When Querying SQL Server Data
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.
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.
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.
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.
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.
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.
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.

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.

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.




