W dniu 2023-02-09 o 16:32, Larry Dalton via lazarus pisze:
This code says it creates TEST_TABLE, but it doesn't store it in the database.
If I click the button once, it apparently creates the table.
If I then click it the second time, it gives me an error code that the table exists.
If I close the application and look in the database, it doesn't exist.
Then if I open the application again,it lets me create it again.
Why is it not storing the table in the database?


Maybe you should commit transaction after creating table?

Michał.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to