SharePoint如何在发布期间重置自动编号字段? [英] How does SharePoint go about reseting the autonumber field during publish?

查看:109
本文介绍了SharePoint如何在发布期间重置自动编号字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在向SharePoint 2010发布数据库,并想知道SharePoint如何重置自动编号字段。  我知道它会重置它,以便没有间隙并将新值重新映射到子表。  但这是我的
示例。  旧(预发布)ID(删除了一些记录的自动编号字段):1,2,3,5,8,9。  当我发布该表时,Sharepoint按照旧ID值的顺序重新发布了1,2,5,8,3,9的记录。

Hi, I am publishing a database to SharePoint 2010 and was wondering how SharePoint goes about reseting the autonumber field.  I understand that it will reset it so that there are no gaps and remaps the new values to child tables.  But here is my example.  Old (pre-publish) ID's (autonumber field with some records deleted): 1,2,3,5,8,9.  When I published the table, Sharepoint republished the records in this order 1,2,5,8,3,9 in terms of the old ID values.

我知道我的ID /自动编号不应该有任何实际意义,我很好用SharePoint重置自动编号字段,我只是想了解它是如何做到的。

I know my ID/autonumber shouldn't have any actual meaning and I'm ok with SharePoint reseting the autonumber field, I just want to understand how it does it.

谢谢

推荐答案

嗨Jaludwig,

我对SharePoint相关技术不是很熟悉。请看看这两个主题是否可以帮助您找出原因:

http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/867bcacd-d378-411a-849a-fc040de9e5da/

http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/ 8cd029cd-fdfe-4953-8bfc-04344c013b61

在发布到SharePoint时,可能是我的顺序Access中的D为1,2,5,8,3,9,因此它在SharePoint中显示相同的顺序?

希望这可以帮助你,如果你仍然困惑,你可以在SharePoint论坛上发帖: http://social.msdn.microsoft.com/Forums/en-US/category/sharepoint2010

您可以从论坛获得更多帮助。

最好的问候,


这篇关于SharePoint如何在发布期间重置自动编号字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆