SharePoint Document Issues

Fix SharePoint Lookup Fields Importing as Long Text in Access

Chanuka GeekiyanageChanuka Geekiyanage Oct 28, 2026 868 views

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.

Fix SharePoint Lookup Fields Importing as Long Text in Access
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.
Before you start

Ensure you have administrative or full control permissions over the SharePoint list and the Access database to view hidden fields and modify relationship settings.

Solution 1Recommended

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.

1
Open list settings

Navigate to your SharePoint list, click the Gear icon in the top right, and select 'List settings'.

2
Edit the lookup column

Scroll down to the Columns section and click on the problematic Lookup column to edit its properties.

3
Set the target field to ID

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.

4
Remove additional display columns

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.

5
Re-import into Access

Open Microsoft Access and re-import the SharePoint list to verify if the field now correctly maps as a numeric type.

Reconfigure SharePoint Lookup Fields to Use Numeric IDs
Data Integrity Maintained: By forcing the lookup to return only the numeric ID, the Access import wizard will correctly recognize the column as a Long Integer.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
  2. 2. Install and launch: Run the installer and open the application to access the all-in-one workspace for documents, spreadsheets, and presentations.
  3. 3. Open existing files: Drag and drop your existing Microsoft Office files directly into WPS Office to continue editing without losing formatting.
Fully compatible with Microsoft Office formats including Word, Excel, and PowerPoint files.Free and lightweight, consuming minimal system resources compared to traditional Office suites.Familiar tabbed interface making migration smooth and intuitive for SharePoint and Office users.
microsoft office alternative - wps office

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.