May-26-2023, 03:23 PM
(May-25-2023, 08:47 PM)angus1964 Wrote:(May-24-2023, 07:02 PM)menator01 Wrote: I tried running your code, the database was created but not the tables.
Hi Menator
I moved the call to create the db to just below menu creation, and it works fine now, not a great way to do it, will investigates your class method.
Still have the original issue, did wonder if it was due to files being on cloud but when run locally same issue. Hoping once class built it will solve it.
Have managed to work out when you click the save button it is added to the database, I checked from the terminal. So it would appear the issue is getting the full data to populate the table.
Think I have figured it out, all the code is in the init section so will be created at startup. Going to create a class which is called from a button on the page.