admin管理员组

文章数量:1291518

I'm just starting out and I really can't figure out how to solve this. initially, I tried to get data from TinyDB in Counter.NumbersOnly, but it returned the error: The operation NumbersOnly cannot accept the arguments: (com.google.appinventorponents.runtime.TextBox***). Then I decided to use Counter.text, but it gives an error: com.google.appinventorponents.runtime.TextBox

In general, I need to save the number from TinyDB1 to the counter, if not, then 0. next, I configured it so that after the response from the chatbot, I will get a number from it and save it to *counter2 *and TinyDB2, and to *counter *in TinyDB the sum of counter+counter2 (my second problem here: I can't make from they have numbers, which means I can't add them up). I might have expressed myself incomprehensibly, because English is not my language, I use a translator, sorry.

I'm just starting out and I really can't figure out how to solve this. initially, I tried to get data from TinyDB in Counter.NumbersOnly, but it returned the error: The operation NumbersOnly cannot accept the arguments: (com.google.appinventorponents.runtime.TextBox***). Then I decided to use Counter.text, but it gives an error: com.google.appinventorponents.runtime.TextBox

In general, I need to save the number from TinyDB1 to the counter, if not, then 0. next, I configured it so that after the response from the chatbot, I will get a number from it and save it to *counter2 *and TinyDB2, and to *counter *in TinyDB the sum of counter+counter2 (my second problem here: I can't make from they have numbers, which means I can't add them up). I might have expressed myself incomprehensibly, because English is not my language, I use a translator, sorry.

Share Improve this question edited Feb 13 at 22:40 Taifun 6,29318 gold badges64 silver badges191 bronze badges asked Feb 13 at 15:04 GooseDontHaveFunGooseDontHaveFun 11 bronze badge 1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Bot Commented Feb 13 at 23:53
Add a comment  | 

1 Answer 1

Reset to default 0

You should store property Counter2.Text or Counter.Text instead of the textbox component itself

Also 1 TinyDB component would be sufficient, just use different tags like Counter1, Counter2

本文标签: