Recent

Author Topic: ZeosDB+Sqlite Error database schema has changed library routine called out..  (Read 1276 times)

Nicola Gorlandi

  • Jr. Member
  • **
  • Posts: 80
Hi,

If I execute the code bloew two times, only on the second time I receive back an error:

sqlite database schema has changed library routine called out of sequence

Code: Pascal  [Select][+][-]
  1. Tztable1.Append;
  2. zconnection1.ExecuteDirect('CREATE  TEMPORARY  TABLE '+randomname('xx')+' AS select 1 from AZIENDA');  
  3. Tztable1.fieldbyname('CHIAVE').AsInteger:=key; // a correct key
  4. Tztable1.Post;
  5.  

The Tztable1 has a tablename and the temporary table is built on another table.

Any idea ?

 

TinyPortal © 2005-2018