Fix SharePoint Lookup Fields Importing as Long Text in Access
Question details
The user needs a way to prevent numeric SharePoint lookup fields from automatically converting to Long Text when imported back into a Microsoft Access database.

- Product
- Microsoft Access / SharePoint
- Device & OS
- not provided
- Scenario
- Importing SharePoint lists containing lookup fields back into a new Access database.
- Observed behavior
- Numeric lookup fields in SharePoint are incorrectly imported as Long Text data types in Access instead of Long Integer.
Ensure you have administrative or full control permissions over the SharePoint list and the Access database to view hidden fields and modify relationship settings.
Reconfigure SharePoint Lookup Fields to Use Numeric IDs
Adjust the lookup configuration in SharePoint to rely strictly on Long Integer keys rather than exposing display text, preventing Access from inferring a Long Text data type.
SharePoint does not handle Access-style primary-key and foreign-key constraints directly. Instead, it creates lookup fields for relationships. If a lookup exposes text values alongside a numeric key, Access defaults to Long Text during import to prevent data loss.
Navigate to your SharePoint list, click the Gear icon in the top right, and select 'List settings'.
Scroll down to the Columns section and click on the problematic Lookup column to edit its properties.
Ensure the 'In this column' dropdown is strictly set to point to the underlying numeric ID (Long Integer) rather than a text-based display name.
Uncheck any additional text columns in the 'Add a column to show each of these additional fields' section that might cause Access to misinterpret the data type.
Open Microsoft Access and re-import the SharePoint list to verify if the field now correctly maps as a numeric type.

Inspect and Manage Hidden SharePoint ID Fields
Identify how SharePoint's automatically generated ID fields interact with your migrated Access tables to correct data mapping issues.
Switch to WPS Office for Seamless Document Management
While Microsoft Access and SharePoint integrations can encounter complex data type conversion issues, managing your standard office documents shouldn't be a hassle. WPS Office offers a lightweight, highly compatible alternative for your word processing, spreadsheet, and presentation needs without the steep learning curve.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install and launch: Run the installer and open the application to access the all-in-one workspace for documents, spreadsheets, and presentations.
- 3. Open existing files: Drag and drop your existing Microsoft Office files directly into WPS Office to continue editing without losing formatting.

Frequently Asked Questions
Why does SharePoint convert my Access primary keys to AutoNumber?
SharePoint uses its own internal AutoNumber-style ID field for every list item. If your original Access table had a sequential Long Integer primary key, SharePoint often maps it to its own AutoNumber system to maintain list item relationships.
Can I view hidden fields added by the SharePoint move wizard in Access?
Yes, you can view hidden fields by adjusting the Navigation Options in Microsoft Access to show hidden and system objects. This reveals the background columns SharePoint uses for synchronization.
Is the conversion to Long Text a bug in the Access import wizard?
It is generally not a bug, but a behavior of the wizard trying to prevent data loss. If the SharePoint lookup field is configured to expose any text-based display values along with the key, the Access import wizard safely defaults to Long Text to accommodate potential non-numeric characters.




