Click here to Skip to main content
15,887,837 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have 2 databases that suddenly won't auto-number. Is this a bug through an update?

What I have tried:

I tried to use query with Workbench and reset the field integer type. But error report that SQL statement was not correct.
Posted
Updated 4-Jul-17 4:40am

1 solution

Try to make new databases to check whether its a bug in the database or by you. Read the error messages more careful and write themabsolut exact when asking.
 
Share this answer
 
Comments
BobbyStrain 4-Jul-17 11:32am    
Thank you.
I made a couple of changes to the database, and auto-numbering works OK whenever I use Workbench to add a record. But I have a front-end with a datagridview that is not working properly. I have a binding navigator with the add, save, etc. When I try to add a new record and save it, the front end does not place a value in the ID column. It worked quite well before, and would assign sequential values of -1, -2, etc for the new records. This is no longer happening. So, I'll have to search the front-end C# windows form code for the problem. Strange, I have not changed any code that would cause this to break.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900