Create Record in Sqlite DB during Optimization outside OnTesterDeinit() event - possible?



I'm using an Sqlite database to do some documentations. It works perfect when making a single test.

But during optimization the database access (= create some records) only works in the "OnTesterDeinit()" event.

I tried to access a Sqlite Database during optimization in the OnTick event. But no record ist created.

Does anybody know if it's in general possible to access a Sqlite Database in the OnTick event during optimization?


strSQL= "INSERT INTO tblTest(FieldA, FieldB) VALUES (1, 3);"
Success = DatabaseExecute(db, strSQL);

The example works in the OnTick event when doing a single test. But it does'nt work when doing an optimization.

Best regards