问题描述
Hai朋友,
我设计了一个vb .net表单,ms作为Backend访问。
第一期:
ID CODE
1 a1
2 b1
3 c1
这些是我的字段。
如果我删除记录2 b1,那么我的桌子就像这样:
ID CODE
1 a1
3 c1
所以表看起来缺少2个ID。
第二个问题:
如果我删除所有记录,那么我的表用id开头'4'
删除所有记录后,当我插入一条记录然后我的桌子看起来像这样。
ID CODE
4 a1
5 b1
6 c1
这里我需要从1开始id
请帮帮我朋友。
问候,
Sissy ram
Hai friends,
I have designed a vb .net form with ms access as Backend.
First Issue:
ID CODE
1 a1
2 b1
3 c1
These are my fields.
If i delete a record "2 b1" then my table became like this:
ID CODE
1 a1
3 c1
So the table looks missing 2 id .
Second Issue:
If i delete all the records, then my table begans with id '4'
after deleting all the records, when i insert a record then my table looks like this.
ID CODE
4 a1
5 b1
6 c1
Here i need to began id from 1
Please help me friends.
regards,
Sissy ram
推荐答案
这篇关于如何在Ms Access(Vb.Net Oriented)中重新排列Id(自动编号数据类型)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!