I have a multi-device app with a FDconnection, Bindsource and 2 queries used to populate 2 listviews.
These use a very simple sqllite database with 3 tables in it.
I need to be able to edit records in one of those tables and then re-display icons on one of the listviews (by clicking colorbuttons).
I have tried setting Lockingmode=Normal in the FDconnection (in code on the beforeconnect event - as if you try to change that setting in the editor Delphi comes up with loads of field not found messages that then prevent you closing your project AND YOU LOSE ALL RECENT CHANGES).
I have tried closing the FDconnection, re-opening it and then running an "update table set field=nn" query. It falls over on the execSQL saying that the database is locked.
I have also tried using the same table query to do a
locate
append
Edit
fieldbyname('fieldname').asinteger:=tag;
Post
execsql
Same locked database error
Please could somebody help - as this ought to be easy. All I want to do is update data for goodness sake. All very easy in VCL.
This is for single user access on a single database on a mobile phone (whilst displaying the same data in 2 listviews).
John