I don't see you updating the global inventory variable anywhere.
Also, you should not open Screen1.
Your DataChanged event ignores the tag and value returned from CloudDB. That's wrong.
I don't see you updating the global inventory variable anywhere.
Also, you should not open Screen1.
Your DataChanged event ignores the tag and value returned from CloudDB. That's wrong.