Hello everybody,
I’ve create a table in SQL to save object name, position, etc
every row is an object and the first column is the id (that is INCREMENTAL)…
the save process works and I’m able to show the table correctly,
now I’ve insert a button in every rows that let you delete the row and it works
but when I try to create a new object the id number is always the one after the last.
Exemple:
id | objectName |
1 object1
2 object2
3 object3
4 object4
what I’d like to see is that after delete the row number 3, the id numeber of the row number 4 become 3…
how can I do? Thank you