I have made a app which has a form and it saves and output data on next screen in list view, it works well when i close the app and open the app but if i close the app by 'recent application button' and then open the app back and add one more data it overwrites it all .
Any fix
Thank U for reading
Bima (1).aia (25.6 KB)
Are you storing your data in TinyDB?
yes i am .
No it didn't worked
The mistake here was, you were initializing your variable to empty list everytime, and storing the variable value in TinyDB, so the data was overwritten everytime you opened the screen
Now it see not even saving data
Try swapping the position of store value and add item to list,
replace create empty list in the add item list to an empty string
nothing sovled the problem
Could you share your updated code?
it was exactly as you said and it didnt worked so i changed it back to the orignal
Okay Now I have resolved your problem,
please see your project which I have fixed the logic :
Bima.aia (26.0 KB)
Thank U Alaqmar_Bohori and Salman_Dev the last aia file worked
Second Update
Bima.aia (26.7 KB)
What's new
- Fix This Problem :
- Fix the problem when you delete the profile and go back to screen1 and add a new profile, it still keeps the data you deleted before.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.