Hi all, I have created a small app that I practice TinyDB for a bigger project I am planning to start on once I've sorted out a few problems with TinyDB.
This is my first problem that I have not been able to figure out and can't find any info on how to do anywhere. I hope I can explain it
I have 6 textboxes, firs is "name.TxtBox" which is used as the tag to store the data in the other 5 textboxes. The second is an ID number that gets generated automatically starting from 1 in increaments of 1. This all works good so far but the problem is when I delete an entry.
The list looks something like this:
If I delete number one, I am left with the ID numbers 2 and 3.
What I'd like to do is renumber the IDs still in TinyDB starting from one again.
change name2,2,20,25,46,78 to name2,1,20,25,46,78
change name,3,3,45,56,46 to name,3,2,45,56,46
Is this possible?