P Paul Garcia Member Licensed User Longtime User Oct 7, 2019 #1 I am working in b4i and I have problems with the local base. when making a dml statement of delete after I want to insert it gives me the following error: <B4IExceptionWrapper: Error Domain=caught_exception Code=0 " BeginTransaction error: database is locked" UserInfo={NSLocalizedDescription= BeginTransaction error: database is locked}>
I am working in b4i and I have problems with the local base. when making a dml statement of delete after I want to insert it gives me the following error: <B4IExceptionWrapper: Error Domain=caught_exception Code=0 " BeginTransaction error: database is locked" UserInfo={NSLocalizedDescription= BeginTransaction error: database is locked}>
Erel B4X founder Staff member Licensed User Longtime User Oct 8, 2019 #2 Can you post the relevant code? Make sure to always close the ResultSets and end the transactions. Upvote 0