[Lazarus] create table doesn't store

gabor gabor at poczta.onet.pl
Thu Feb 9 16:41:58 CET 2023


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ł.


More information about the lazarus mailing list