[Lazarus] create table doesn't store

Larry Dalton larrydalton71 at gmail.com
Thu Feb 9 16:51:52 CET 2023


That worked, Michal. Thanks!

Sent from my iPhone

> On Feb 9, 2023, at 10:42, gabor via lazarus <lazarus at lists.lazarus-ide.org> wrote:
> 
> 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 at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus


More information about the lazarus mailing list