How to reset AutoIncrement field from Access Database

后端 未结 2 824
我寻月下人不归
我寻月下人不归 2020-12-18 17:44

I am trying to reset the Autoincrement field of a particular field. The reason because it gets a count that auto populates in a case number. But when it hits mindnight 12/3

相关标签:
2条回答
  • 2020-12-18 17:51

    You can also do this:

    1. Remove the Primary Key from the field
    2. Delete the field
    3. Make a new field exactly as the one you deleted
    4. It's done

    More details: https://www.youtube.com/watch?v=1kni5kFzlPk Regards.

    0 讨论(0)
  • 2020-12-18 18:08

    Try this:

    CurrentDb.Execute "ALTER TABLE YourTableNameHere ALTER COLUMN FieldNameHere COUNTER(1,1)"
    
    0 讨论(0)
提交回复
热议问题