Dataset became read only! lazarus / 16-Databases ---------------------------------------------------------------------- panoss · 2014-10-10 18:47 I 've made a simple database application in Lazarus for Linux. I could write (save records) in it normally. Then I opened the same project with Lazarus for windows (works through wine) and could not write! It became read-only! I tried with the linx version of Lazarus and could not edit or save the records! Read-only! What can I do? ---------------------------------------------------------------------- howardpc · 2014-10-10 19:34 Remove the database file(s) read-only attribute(s) - assuming that is the source of read-only-ness? ---------------------------------------------------------------------- panoss · 2014-10-10 19:55 The file has read and write permission checked. ---------------------------------------------------------------------- panoss · 2014-10-10 21:55 I added the code: Code: [Select]  SQLQuery2.Close;   if not SQLite3Connection2.Connected then   begin     SQLite3Connection2.DatabaseName:= 'mydatabase.db';     SQLQuery2.ReadOnly:=false;   end;  and works fine! I have no idea why before opening the project with the Windows version of Lazarus it worked fine without this code...