Problem with SQLite database lazarus / 16-Databases ---------------------------------------------------------------------- Petrovic · 2007-02-23 13:15 First I want to thank eveybody in Lazarus and FreePascal development team for such great contribution to Open Source Society and for making a great tool for all programmers that need a cross platform support! I made allready 2 database applications using TDbf and had no problems. Now I wanted to use SQLite but I have one problem that I hope you can help me with. I have a simple form with one SqliteDataset, one Datasource, one DBgrid, two DBEdit fields and off course one DBNavigator. I have made all connections between those objects and created one Table that I want to fill out with info in this form. I also have one Button for opening that table. Very simple indeed, but somethin is wrong and I can't figure out what! This is the problem: When I click on the Button with simple code: Code: [Select] Sqlite3Dataset1.Open; It loads the data from the table to my DBgrid and on DBEdit fields but instantly it closes my complete application! Same happens if I delete my DBGrid but after I click my Button it opens the table and put the data in DBEdit fields, but when I click on any of DBNavigate's buttons it closes my app again! Why? Please help me! ---------------------------------------------------------------------- Petrovic · 2007-02-24 07:58 I solved this by my self, still don't know what was the problem but I recreated the form from beginning and everything works fine now!