sqlite, zeos and delphi urgent help
Posted: 12.05.2011, 10:00
Hi guys.
I use Delphi 2007, ZEOSDBO-6.6.6-stable and SQLite3. I successfully create database and write data in database. In database I have one table that have two columns, in the first column I write date YYYY-MM-DD HH:MM:SS and in the seccond message. I want to use Query to select date and messages from start date to end date that is specified by user. My question is how to compose my query. I try to use SQL command SELECT to select the data that satisfies the criterion but I dont know how. And second thing is for SELECT command. I read that the result of a SELECT is zero or more rows of data where each row has a fixed number of columns. My question is how to get the data returned by Query with SELECT command into array in delphi code.
From this link I read for Important Properties and Methods for ZConnection control.
http://zeos.firmos.at/kb.php?mode=article&k=6
But there is no explanation for Important Properties and Methods for other zeos controls. Where can I find this explanation and also some simple examples for reading and writing in database using zeos and sqlite.
Thanks in advance.
Regards.
I use Delphi 2007, ZEOSDBO-6.6.6-stable and SQLite3. I successfully create database and write data in database. In database I have one table that have two columns, in the first column I write date YYYY-MM-DD HH:MM:SS and in the seccond message. I want to use Query to select date and messages from start date to end date that is specified by user. My question is how to compose my query. I try to use SQL command SELECT to select the data that satisfies the criterion but I dont know how. And second thing is for SELECT command. I read that the result of a SELECT is zero or more rows of data where each row has a fixed number of columns. My question is how to get the data returned by Query with SELECT command into array in delphi code.
From this link I read for Important Properties and Methods for ZConnection control.
http://zeos.firmos.at/kb.php?mode=article&k=6
But there is no explanation for Important Properties and Methods for other zeos controls. Where can I find this explanation and also some simple examples for reading and writing in database using zeos and sqlite.
Thanks in advance.
Regards.