Aarg! Just spent more than one hour on the question why my database is corrupt when viewing it in Valentina Carbon, after only inserting 2 records with SqlExecute(). Read somewhere in the archive that I need to call mydatabase->Flush() after INSERT. Works ok now. But I wonder why this is not written in the SQLReference... Arthur Clemens