Good day group, I hope someone can help me with this problem...
The operation Elements cannot accept the arguments: , ["C3 - Time -20h16"]
Note: You will not see another error reported for 5 seconds
I am trying to create a reporting app for my work. We sit in a control
-
Your tinydb tag "listoption" from Screen5 is NOT a list, therefore it cannot be accepted by ListViewScr9.Elements. This is what causes your error. You probably need to create a list variable on Screen5 and add the textbox value to the list, then save the list to the tinydb tag "listoption". ListViewScr9.Elements can then accept the tag "listoption". You may need to change the blocks you have that follow this on Screen9 for them to work correctly.
-
You do not appear to be switching screens correctly, which will cause your app to eventually crash
-
If you have more than 10 screens in your project, this may also cause your app to become unstable.
- Before starting to create another screen, first you should think about is it really necessary?
- See also Building apps with many screens and SteveJG's post about advantages/disadvantages, because in only one screen you also can use vertical arrangements to simulate different screens, just set the arrangements to visible = true/false as needed...
- See also Martyn_HK's example about how to use Tabs in App Inventor and another example from Cyd. and my Tabbed Screens Demo
If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a while...
The recommended method of switching screens in App Inventor
Hi, thank you for your help. I followed your recommendations. I made a few changes to the blocks and no more errors.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.