如何重置ms access 2010中的自动编号字段 [英] how to reset the Auto number field in ms access 2010

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

问题描述

请发布如何重置ms access 2010中的自动编号字段。

解决方案

Hello RaviRethi,



请阅读本文: http://support.microsoft.com/kb/812718/en-us [ ^ ]



JAFC


这很简单:



步骤1:转到菜单中的创建项目。

步骤2:选择查询设计。

步骤3:在即将到来的窗口中选择表格并关闭它。

step4:转到查看和选择SQL视图

步骤5:过去以下代码



更改表发票更改列InvoiceId Autoincrement(1,1)



发票 是一个表名。

InvoiceId 是一个自动编号。

(1,1) 是一个起始编号。如果你想要自动编号以100开头意味着U put(100,1)。





步骤6:最后运行查询。

pls post how to reset the auto number field in ms access 2010.

解决方案

Hello RaviRethi,

Please read this article: http://support.microsoft.com/kb/812718/en-us[^]

JAFC


It's very simple:

Step1: Go to Create in Menu item.
Step2:Select Query Design.
Step3:Select the table in upcoming window and close it.
step4:Go to View and select the SQL view
Step5:Past the following code

Alter table invoice alter column InvoiceId Autoincrement(1,1)

invoice is a table name.
InvoiceId is a Auto number Filed.
(1,1) is a Starting number. if U want auto number start with 100 means U put (100,1).


Step6: Finally Run the Query.


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

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