Jul-05-2022, 06:10 PM
As long as DisplayDatabase() creates a table you are going to get a new table each time you open a database. What you should do is create the table at the start of the program and have DisplayDatabase() load the database information into the existing table. It should be rare that you are creating new widgets once the window is drawn.