Sqlite Database Scope to other windows

This my be a fundamental question on database scope. When a Sqlite Database is successfully connected to a main window. Is the Scope to access it from a method of another window private? I can’t seem to access it. Should I move the method to a Module?

Databases are not connected to windows. Did you add the database to the project, or did you add a property to the window? By default, window properties are not private. You may have made it private, though. How are you trying to access the database from the other window? Did you turn off implicit instantiation? If so, you need to keep a reference to the window in order to access its properties.

No.

Yes.

It worked. Thanks guys for your help.