SQL Server Numeric with Identity not converting to Auto Number in MS Access using linked tables

蓝咒 提交于 2019-12-12 03:13:24

问题


I am using ACCDB with SQL Server linked tables.

I have a table with a Numeric column, primary key and an identity column.

But when I link it to Access database, it is getting converted as Number and not Auto Number.

Any thoughts how to correct this?


回答1:


An autonumber in Access is actually a long integer (int in SQL Server), with an additional property creating an autonumber. If your SQL Server data type is actually numeric, I don't see how Access can recognize it as an autonumber. When using Access as a front end to SQL Server, it is best to use data types that Access easily recognizes.



来源:https://stackoverflow.com/questions/29473113/sql-server-numeric-with-identity-not-converting-to-auto-number-in-ms-access-usin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!