Reset autonumber seed

后端 未结 3 1094
名媛妹妹
名媛妹妹 2020-12-19 06:55

I have a VB6/Access application that occasionally encounters a problem with wrong autonumber field seed.

Lets say there is a table MYTABLE with an autonumber field

3条回答
  •  抹茶落季
    2020-12-19 07:26

    You may also need to make sure that your database is set up to use ANSI 92 so that COUNTER is recognized as a legitimate data type.

    In Access 2007 go to Access Options, Object Designers, SQL Server compatability syntax (ANSI 92) to set this.

提交回复
热议问题