Select list item attempt to get item number 2 of a list of length runtime error

Hi,

I have created a database (TinyDB). The data which have been stored are not getting cleared even if I use a new TinyDB. The data's are always present from previous TinyDB. Please guide me to remove the unwanted data from my DB. Please find my blocks and error regarding the same.

From the looks of it, the data was saved without the | that acts as a separator. Thus, the split does not work and does not return the list of the size you want, just a list of size 1 that contains all the information.

You may need to "manually" delete the data and re-enter it correctly.

The duplicate detection logic looks suspicious.

Could you explain it?

Hi,

Thanks for the reply . After making changes newly entered data are working fine. But the data which are already entered are unable to delete. How to delete it manually?. It would be really helpful for me to proceed further. Thank you in advance

I would try to make a TinyDB1.ClearTag of each of the "bad" elements, I assume you called them with "name", right?

Hi,

Thank you for the idea. Tried them and it is working perfectly fine as expected. Thank you for resolving this for me.