Hi
If I have a multiuser app, and in one form I do assign datatable to a variable:
class Main(MainTemplate):
def __init__(self, **properties):
# Set Form properties and Data Bindings.
self.init_components(**properties)
# Any code you write here will run when the form opens.
#Login form
while not anvil.users.login_with_form():
pass
self.my_tasks = anvil.server.call('get_tasks') # <-- it calls from a server just like in the mutiuser tutorial
So now we have it in memory as a part of that form object, when the form loads.
Let’s say I have a button that loads another form, where I also need to use that table.
When I click it loads another form to memory together with another instance of that table as a part of the form2 object.
Is the first form scraped from memory, or does it persist, when I open form 2?