Author Topic: Problem with SQLite database  (Read 3519 times)


  • Newbie
  • Posts: 2
Problem with SQLite database
« on: February 23, 2007, 02:15:45 pm »
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]


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!

Please help me!


  • Newbie
  • Posts: 2
Problem solved!
« Reply #1 on: February 24, 2007, 08:58:36 am »
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!  :D


TinyPortal © 2005-2018