I use vbRichClient5.dll for SQLite.
I have a number of insert records in a transactional loop, and the transaction begins like this:
On this line:
it gives me the following error:
Cannot compile SQL-Statement: Safety level may not be changed inside a transaction
I really don't understand why this happens.
I have done a lot of queries like that before and this kind of error never happened in the past.
But, today on this query it happens a lot.
Please help.
Thanks.
I have a number of insert records in a transactional loop, and the transaction begins like this:
Code:
Insert_Sql = "insert into T1 ( A, B, C, D, E ) values (?, ?, ?, ?, ?) "
Set Cmd = Cnn.CreateCommand(Insert_Sql)
Cnn.Synchronous = False
Cnn.BeginTrans
......
Code:
Cnn.Synchronous = False
Quote:
Cannot compile SQL-Statement: Safety level may not be changed inside a transaction
I have done a lot of queries like that before and this kind of error never happened in the past.
But, today on this query it happens a lot.
Please help.
Thanks.