How to Fix Microsoft Access Error 3283 When Refreshing SQL Server Links
Question details
Users encounter Error 3283 when trying to refresh linked SQL Server tables.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Executing the RefreshLink() method to update a linked table connected to a network SQL Server database.
- Observed behavior
- Microsoft Access reports Error 3283: 'Primary key already exists', preventing the table link from being successfully refreshed.
Check your Microsoft Access version and update channel via File > Account to determine if you are running the affected Version 2312 build.
Update Microsoft Access to Version 2401 or Later
The error is a known bug in Version 2312 and has been patched in newer releases. Updating to Version 2401 or higher will permanently resolve the issue.
Microsoft recognized this issue and released a fix starting with Version 2401 in the Current Channel. If your organization uses the Monthly Enterprise Channel, the fix is included in subsequent updates following Version 2312.
Launch Microsoft Access, click on the 'File' tab in the top left corner, and select 'Account' from the left-hand menu.
Under the 'Product Information' section, click on the 'Update Options' dropdown button.
Select 'Update Now' to force Microsoft 365 to check for and install the latest available version. Once updated, restart Access and test your RefreshLink() code.

Use a VBA Workaround to Recreate the Linked Table
If you are restricted to the Monthly Enterprise Channel and cannot update immediately, you can bypass the error by dropping and recreating the table link instead of using RefreshLink().
Looking for a Lightweight, Reliable Office Suite? Try WPS Office
While Microsoft Access handles highly complex database management, your everyday document, spreadsheet, and presentation needs can be handled seamlessly with WPS Office. It provides a lightweight, highly compatible, and free alternative to standard Microsoft Office applications.
- 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
- 2. Install the Application: Run the downloaded setup file and follow the simple on-screen instructions to install WPS Office on your device.
- 3. Open and Edit Files: Launch WPS Office to instantly start creating or editing Word, Excel, and PowerPoint documents with full format compatibility.

Frequently Asked Questions
What causes Error 3283 'Primary key already exists' in Access?
Error 3283 is a known software bug in Microsoft Access Version 2312 (Monthly Enterprise Channel). It is improperly triggered when VBA code calls the RefreshLink() method on a table linked to a network SQL Server.
How can I check which Microsoft Access version I am using?
You can check your version by opening Microsoft Access, navigating to File > Account, and looking under the 'About Access' section. Here you will see your Version number, Build number, and update channel.
Is there a way to refresh SQL Server linked tables without using VBA?
Yes, you can manually refresh linked tables by going to the 'External Data' tab, clicking on 'Linked Table Manager', selecting the tables you want to update, and clicking 'OK' to refresh the connection.
When is the fix for Error 3283 available for the Monthly Enterprise Channel?
The fix was initially deployed in Version 2401 for the Current Channel. It rolls out to the Monthly Enterprise Channel in subsequent updates. You should regularly check for updates via File > Account > Update Options.




