When I open the text I added to the list item, I want it to edit it again and save it under the tag again. But when I select the item from the list and edit it, it changes the content but adds a second item to the list. How can I solve this problem?
Note : Make it as easy as possible for those who are helping . Especially:
→ Write in English and
→ use English blocks (set the language in the Designer - temporarily - in English).
from your blocks,
if article is in the list then display a message else save article in TinyDB and add it to the list
which means, the if statement does not work for you?
use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
also shouldn’t it be like this?
save article in TinyDB if article is not already in the list then add it to the list
**"save article in TinyDB **
**if article is not already in the list **
then add it to the list"
YES IT HAS TO BE. BUT I COULD NOT.
save article to TinyDB
If the article is not already listed
then add it to the list. Update the list if available.
I want it to be as I wrote above.
additionally you might want to check, if the article is not empty like this
if article is not empty then save article to TinyDB If the article is not already listed then add it to the list. else display a warning
Problem solved. The error may seem simple but I couldn’t find it. Thank you so much. I am thankful to you.
You reply missed “Taifun”
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.